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

Move analyse command logic to pkg, and export it #214

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

rgeyer
Copy link
Contributor

@rgeyer rgeyer commented Oct 20, 2021

This PR allows external consumers to use the metrics analysis that was previously entirely encapsulated in the analyse commands.

@rgeyer rgeyer requested a review from hjet October 20, 2021 04:39
@rgeyer rgeyer requested a review from a team as a code owner October 20, 2021 04:39
@hjet
Copy link
Contributor

hjet commented Oct 20, 2021

went through this quickly, but lgtm! i'm not an owner on this repo so would maybe get @gouthamve who also worked on this code to +1 it

@hjet
Copy link
Contributor

hjet commented Oct 20, 2021

@gouthamve for context: this is to generate metric allowlists as part of the agent config we hand to users when configuring integrations (specifically the k8s integration, which scrapes a large number of active series)

also see https://github.com/grafana/cloud-onboarding/pull/607/

Copy link
Contributor

@hjet hjet left a comment

Choose a reason for hiding this comment

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

lgtm

@rgeyer rgeyer requested a review from gouthamve October 20, 2021 19:18
@rgeyer rgeyer merged commit f6ea899 into main Oct 29, 2021
@rgeyer rgeyer deleted the rgeyer/export-analyse branch October 29, 2021 16:42
simonswine pushed a commit to grafana/mimir that referenced this pull request Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants