Closed ridwanmsharif closed 3 months ago
Fixes b/339498134
This change does the following:
gcp.project.id
This is being tested by running the sidecar in one project and sending the metrics to another using a relabel rule.
Self metrics: screen/8wNBTeKuUfuAgyL
Service metrics (sent to a different project): screen/3FubQ698D2PX6Cs
Config used:
apiVersion: monitoring.googleapis.com/v1beta kind: RunMonitoring metadata: name: mycollector spec: endpoints: - port: 8080 interval: 10s metricRelabeling: - action: replace targetLabel: project_id replacement: ridwanmsharif-dev
Change-Id: I930e8c985c48491f6debb8181432b3b5c3646c05
Fixes b/339498134
This change does the following:
gcp.project.id
resource attribute so the exporter can set it correctly in the monitored resource labelThis is being tested by running the sidecar in one project and sending the metrics to another using a relabel rule.
Self metrics: screen/8wNBTeKuUfuAgyL
Service metrics (sent to a different project): screen/3FubQ698D2PX6Cs
Config used:
Change-Id: I930e8c985c48491f6debb8181432b3b5c3646c05