-
Notifications
You must be signed in to change notification settings - Fork 95
build(deps): bump github.com/elastic/elastic-agent-system-metrics from 0.11.16 to 0.11.18 #5089
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
base: main
Are you sure you want to change the base?
Conversation
Bumps [github.com/elastic/elastic-agent-system-metrics](https://github.com/elastic/elastic-agent-system-metrics) from 0.11.16 to 0.11.18. - [Release notes](https://github.com/elastic/elastic-agent-system-metrics/releases) - [Commits](elastic/elastic-agent-system-metrics@v0.11.16...v0.11.18) --- updated-dependencies: - dependency-name: github.com/elastic/elastic-agent-system-metrics dependency-version: 0.11.18 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
This pull request does not have a backport label. Could you fix it @dependabot[bot]? 🙏
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
internal/pkg/api/metrics.go
Outdated
@@ -78,6 +73,11 @@ func init() { | |||
cntFileDeliv.Register(routesRegistry.newRegistry("deliverFile")) | |||
cntGetPGP.Register(routesRegistry.newRegistry("getPGPKey")) | |||
cntAuditUnenroll.Register(routesRegistry.newRegistry("auditUnenroll")) | |||
|
|||
err := report.SetupMetrics(logger.NewZapStub("instance-metrics"), build.ServiceName, version.DefaultVersion, registry.registry, registry.registry) |
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.
@kruskall, you introduced the new signature here, can we use the same registry for both args here?
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.
mmh, the previous behaviour was to use separate registries.
The idea is that now you have to pass them explicitly instead of relying on the global one
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.
for reference this is what we do in apm-server: https://github.com/elastic/apm-server/blob/5c0b8e70748dc693a9ef89de5e454d50592889ce/internal/beatcmd/beat.go#L398
|
This pull request is now in conflicts. Could you fix it @dependabot[bot]? 🙏
|
Bumps github.com/elastic/elastic-agent-system-metrics from 0.11.16 to 0.11.18.
Release notes
Sourced from github.com/elastic/elastic-agent-system-metrics's releases.
Commits
d6cb3a9
lint: remove unused import (#250)69e11a2
feat: require passing registries for metrics setup (#247)970079b
fix: solaris build support (#248)6f4567b
feat: remove unused SetupInfoUserMetrics (#246)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)