[
https://issues.apache.org/jira/browse/GOBBLIN-2018?focusedWorklogId=910630&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-910630
]
ASF GitHub Bot logged work on GOBBLIN-2018:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 19/Mar/24 21:41
Start Date: 19/Mar/24 21:41
Worklog Time Spent: 10m
Work Description: arjun4084346 commented on code in PR #3881:
URL: https://github.com/apache/gobblin/pull/3881#discussion_r1531151033
##########
gobblin-metrics-libs/gobblin-metrics/src/main/java/org/apache/gobblin/metrics/InMemoryOpenTelemetryMetrics.java:
##########
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.gobblin.metrics;
+
+import io.opentelemetry.sdk.OpenTelemetrySdk;
+import io.opentelemetry.sdk.metrics.SdkMeterProvider;
+import io.opentelemetry.sdk.metrics.export.MetricExporter;
+import io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader;
+
+import org.apache.gobblin.configuration.State;
+
+
+/**
+ * A stub for OpenTelemetryMetrics that uses in-memory metric reader for
testing purposes
+ */
+public class InMemoryOpenTelemetryMetrics extends OpenTelemetryMetricsBase {
+ public InMemoryMetricReader metricReader;
+ public InMemoryOpenTelemetryMetrics(State state) {
+ super(state);
+ }
+ @Override
Review Comment:
blank line here
Issue Time Tracking
-------------------
Worklog Id: (was: 910630)
Remaining Estimate: 0h
Time Spent: 10m
> Use Opentelemetry for sending metrics with GaaS Observability Events
> --------------------------------------------------------------------
>
> Key: GOBBLIN-2018
> URL: https://issues.apache.org/jira/browse/GOBBLIN-2018
> Project: Apache Gobblin
> Issue Type: New Feature
> Components: gobblin-service
> Reporter: William Lo
> Assignee: Abhishek Tiwari
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently GaaS sends events via Kafka to get insights on flows in aggregate
> and enable the ability for users to create queries and dashboards.
> For alerts, to support metrics based alerting from the same information, we
> want to integrate Opentelemetry for a more modern multi dimensional metrics
> experience that integrates with more backend systems.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)