[ 
https://issues.apache.org/jira/browse/GOBBLIN-2209?focusedWorklogId=974745&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-974745
 ]

ASF GitHub Bot logged work on GOBBLIN-2209:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Jul/25 06:25
            Start Date: 16/Jul/25 06:25
    Worklog Time Spent: 10m 
      Work Description: abhishekmjain commented on code in PR #4118:
URL: https://github.com/apache/gobblin/pull/4118#discussion_r2209382950


##########
gobblin-metrics-libs/gobblin-metrics/src/main/java/org/apache/gobblin/metrics/opentelemetry/OpenTelemetryMetricType.java:
##########
@@ -0,0 +1,35 @@
+/*
+ * 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.opentelemetry;
+
+
+/**
+ * Enum representing the types of OpenTelemetry metrics supported.
+ */
+public enum OpenTelemetryMetricType {
+  /** Represents a metric of type LongCounter. */
+  LONG_COUNTER,
+  /** Represents a metric of type DoubleHistogram. */
+  DOUBLE_HISTOGRAM;
+
+  @Override
+  public String toString() {
+    return this.name();
+  }

Review Comment:
   Is this needed? By default Enum's toString() returns name()





Issue Time Tracking
-------------------

    Worklog Id:     (was: 974745)
    Time Spent: 50m  (was: 40m)

> Emit GaaS Executor OTel Metrics
> -------------------------------
>
>                 Key: GOBBLIN-2209
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2209
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-metrics
>            Reporter: Vivek Rai
>            Assignee: Issac Buenrostro
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Emit GaaS Executor OTel Metrics



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to