Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Add handling of resources in metricdata.Metric #20

Merged
merged 5 commits into from
Jun 9, 2020

Conversation

jjzeng-seattle
Copy link
Contributor

This follows census-instrumentation/opencensus-go#1212, which added resources to metricdata.Metric when specified.

This fix reads the resource labels, and treat them as const labels.

Copy link
Contributor

@rghetia rghetia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor comment. Otherwise LGTM.

prometheus_test.go Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants