Open PanielDan opened 11 months ago
Would be nice to have a Quarkus equivalent to this PR from Spring
[Update] I got around this by disabling default registry creation, doing a custom implementation of the StackdriverConfig, and creating my own StackDriverMeterRegistry using my custom StackdriverConfig object.
I would welcome a PR ...
Hello,
I'm running into some problems configuring a resource-type that is not
global
for thequarkus-micrometer-registry-stackdriver
extension.GCP recommends using
generic_task
orgeneric_node
for resource types and requires specifics labels to configured for the Monitoring API to take in these datapoint. I haven't been able to find way to configure those values inapplication.properties
.Seems like other devs have gotten to make this work by overriding the Micrometer StackdiverConfig during construction of the MetricsRegistry (https://github.com/micrometer-metrics/micrometer/issues/1907), but
quarkus-micrometer-registry-stackdriver
comes with a predefined @DefaultBean that creates the StackdiverConfig from config values. So I don't know of a way to do this without just connectingmicrometer-registry-stackdriver
andquarkus-micrometer
myself.Do you know of any instructions or examples you could provide to help configure this resource labels?