-
Notifications
You must be signed in to change notification settings - Fork 25
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
[stacked 2/5] metrics: add de-facto standard collectors. #404
Conversation
df856a6
to
095de2c
Compare
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.
Apparently only the last commit was different from 403.
Yes, this is effectively a single-commit PR, it's just stacked on top of #403. |
0ce588f
to
be87761
Compare
3462096
to
7924a67
Compare
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.
LGTM
@@ -33,9 +35,10 @@ type Config struct { | |||
// +optional | |||
// +kubebuilder:example="otlp-http://localhost:4318" | |||
TracingCollector string `json:"tracingCollector,omitempty"` | |||
// ReportPeriod is the interval between reporting aggregated metrics. | |||
// ReportPeriod is the interval between between collecting polled metrics. |
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.
s/between between/between
Add a metrics/collectors subpackage. When imported it pulls in and registers the fairly standard buildinfo, process and golang runtime collectors. Turn on the build info collector by default. Signed-off-by: Krisztian Litkey <[email protected]>
7924a67
to
d84d349
Compare
Notes: This PR is stacked on top of #403.
Add a
metrics/collectors
subpackage to register the fairly standardbuildinfo
,process
andgolang
runtime collectors. Turn on thebuildinfo
collector by default.