GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — Implement new SemConv exporter health metrics by JonasKunz · Pull Request #7265 · open-telemetry/opentelemetry-java Conversation
|
|
Hey @JonasKunz give me a heads up when you think this is ready for review. Happy to start with a high level review while its still in draft! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jack-berg a high level review would be appreciated! I'm happy with the overall structure and would mostly polish from now on, so it would be great to get your feedback before I polish things we'll end up changing anyway. I've updated the PR comment to give an introduction on how I envision the feature implementation in general. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
# Conflicts: # exporters/common/src/main/java/io/opentelemetry/exporter/internal/ExporterMetrics.java # exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/metrics/OtlpHttpMetricExporterBuilder.java # exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/metrics/OtlpGrpcMetricExporterBuilder.java
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Left a variety of comments, but this is on the right track. Thanks for working on this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| private static final AttributeKey<Boolean> ATTRIBUTE_KEY_SUCCESS = booleanKey("success"); | ||
| /** | ||
| * This class is internal and is hence not for public use. Its APIs are unstable and can change at | ||
| * any time. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity did the build force this comment to pass?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes:
> Compilation failed; see the compiler output below.
/Users/jonas/git/otel/opentelemetry-java/exporters/common/src/main/java/io/opentelemetry/exporter/internal/ExporterMetrics.java:29: warning: [OtelInternalJavadoc] This public internal class doesn't end with any of the applicable javadoc disclaimers: "This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.", or "This class is internal and experimental. Its APIs are unstable and can change at any time. Its APIs (or a version of them) may be promoted to the public stable API in the future, but no guarantees are made."
public enum Signal {
^
(see https://errorprone.info/bugpattern/OtelInternalJavadoc)
1 error
1 warning
Is that not intentional?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
# Conflicts: # docs/apidiffs/current_vs_latest/opentelemetry-exporter-otlp.txt # docs/apidiffs/current_vs_latest/opentelemetry-exporter-zipkin.txt # docs/apidiffs/current_vs_latest/opentelemetry-sdk-common.txt
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
There may be opportunities to clean up some things (e.g. its not great that ExporterInstrumentation and ExporterMetrics each have an internal class/interface called Recording), but this is great start as far as I'm concerned. New public API surface area and telemetry output looks good.
A couple more non-blocking comments
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…nal/grpc/GrpcExporterTest.java Co-authored-by: jack-berg <[email protected]>
…nal/http/HttpExporterTest.java Co-authored-by: jack-berg <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.