You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, not sure if this is the correct way of approaching it but I wanted custom buckets for my histograms and this works fine when I use registerView with my own SdkMeterProvider. If I throw in the javaagent, it seems like the GlobalOpenTelemetry object is already created and I can't registerView anymore. Is there any way around this? Something I'm not understanding?
The text was updated successfully, but these errors were encountered:
actionbronson
changed the title
Registering Views for histogram with the javaagent
Registering Views for histogram with the javaagent SdkMeterProvider
Aug 18, 2022
Hey @actionbronson ,
There are currently 2 ways you can configure views when using the javaagent:
You can use the experimental view file configuration module -- it is included in the javaagent out of the box, you only need to set a configuration property with a path to the yaml config file.
Hello, not sure if this is the correct way of approaching it but I wanted custom buckets for my histograms and this works fine when I use registerView with my own SdkMeterProvider. If I throw in the javaagent, it seems like the GlobalOpenTelemetry object is already created and I can't registerView anymore. Is there any way around this? Something I'm not understanding?
The text was updated successfully, but these errors were encountered: