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
The metric is exposed correctly on the actuator /metrics endpoint and I can see metrics working when I run the project locally. However, the metrics are not exposed when running inside of GKE.
Describe the bug
Adding a
@Timed
annotation in a Spring Cloud GCP project does not always propagates its metrics back into Google Cloud Metrics or GCPs Trace UI.Sample
Annotating methods with
@Timed("test-cat-event")
should publish this metric to GCP's Cloud Metrics.The metric is exposed correctly on the actuator
/metrics
endpoint and I can see metrics working when I run the project locally. However, the metrics are not exposed when running inside of GKE.Minimal project to reproduce:
https://github.com/Alos/spring-cloud-gcp-metrics-issue
The text was updated successfully, but these errors were encountered: