-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add resource attributes and scope to metrics proto diagram #519
base: main
Are you sure you want to change the base?
Add resource attributes and scope to metrics proto diagram #519
Conversation
// |unit | +------------------------------------+ | ||
// |data |---> |Gauge, Sum, Histogram, Summary, ... | | ||
// +------------+ +------------------------------------+ | ||
// MetricsData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why provide a definition of the MetricsData
type for the Metric
? This seems more appropriate in the MetricsData
type documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsuereth, @tigrannajaryan what do you think? Should I move this up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works either for me, as long as we have this diagram somewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tigrannajaryan, I just pushed a commit. Can you please take a look?
893bb76
to
aabc9cb
Compare
// Metric | ||
// +------------+ | ||
// |name | | ||
// |description | | ||
// |unit | +------------------------------------+ | ||
// |data |---> |Gauge, Sum, Histogram, Summary, ... | | ||
// +------------+ +------------------------------------+ | ||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't need to be removed. It contextualizes the following diagram about metric data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed that based on @bogdandrutu's advice: #519 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
His comment was made when this PR was changing the documentation of this declaration. It doesn't seem relevant to me given this PR has moved the added documentation elsewhere.
214b6c7
to
20d664f
Compare
Fixes #518.