Skip to content
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

Update flags used for metrics #1540

Merged
merged 6 commits into from
Mar 30, 2022
Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Mar 30, 2022

PR Description

This PR contains a number of small changes:

  • Remove the already-deprecated -prometheus.* flags in favor of their -metrics.* counterparts. -prometheus.* flags were first deprecated in v0.19.0.
  • Fix an issue where some flags were prefixed with -metrics.service.. instead of -metrics.service. (two dots instead of the intended one).
  • Default the WAL directory for metrics to data-agent/, which is the same default value Prometheus Agent uses.

Which issue(s) this PR fixes

N/A

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

@rfratto rfratto requested a review from rlankfo March 30, 2022 21:13
Copy link
Member

@rlankfo rlankfo left a comment

Choose a reason for hiding this comment

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

LGTM

@rfratto rfratto enabled auto-merge (squash) March 30, 2022 21:26
@rfratto rfratto merged commit 8d9d40b into grafana:main Mar 30, 2022
zimbatm pushed a commit to NixOS/nixpkgs that referenced this pull request Jun 19, 2022
…rics`

According to grafana/agent#1540, -prometheus.*
flages were deprecated in 0.19.0 in favor of the -metrics.*
counterparts. Same applies to `loki` being renamed to `logs`.

I'm not sure if the config file format is still supported (it could be),
but we shouldn't use deprecated configs.
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 31, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants