Add metrics to ZipkinSpanExporter#4501
Add metrics to ZipkinSpanExporter#4501jack-berg merged 5 commits intoopen-telemetry:mainfrom Donnerbart:add-metrics-to-zipkin-span-exporter
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4501 +/- ##
============================================
+ Coverage 90.08% 90.11% +0.02%
- Complexity 5074 5077 +3
============================================
Files 584 584
Lines 15667 15682 +15
Branches 1504 1506 +2
============================================
+ Hits 14114 14132 +18
+ Misses 1100 1099 -1
+ Partials 453 451 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
I think the public field |
Unfortunately, we're stuck with that mistake. :( |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
Hey, is there anything I can do to move this forward? |
|
Sorry for not responding sooner. I've been hesitant to accept this because it introduces a new transitive dependency for the Maybe we can move the truly common classes to a new module |
|
@jack-berg A module split would definitely be a good idea I think. I don't know if it blocks this PR - doesn't the zipkin exporter already depend on okhttp via the zipkin sender? |
|
It shades in okhttp io.zipkin.reporter2:zipkin-sender-okhttp3. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
…y-java into add-metrics-to-zipkin-span-exporter
|
This is unblocked now that #4575 is merged. I've pushed a commit to rebase. Thanks @Donnerbart! |
exporters/common/src/main/java/io/opentelemetry/exporter/internal/ExporterMetrics.java
Outdated
Show resolved
Hide resolved
|
@jkwatson any additional thoughts before I merge this? |
This is a follow-up to #4487 to complete the metrics for span exporters story.
I'm not sure if you like the distinct transport name for HTTP/JSON encoding in the
instrumentationScopeName. This will change the existing metric names forOkHttpExporterwhen JSON encoding is used. I made that part an extra commit which can easily be dropped, if that change is not wanted.