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

Ansible Role for deploying grafana-agent #734

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

akraitman
Copy link
Contributor

No description provided.

@akraitman akraitman requested a review from ktdreyer April 24, 2023 19:08
Copy link
Member

@ktdreyer ktdreyer left a comment

Choose a reason for hiding this comment

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

This is a good start and there are some things we could improve.

I recommend merging #733 first, then rebasing this PR onto main, so that the linter will run on this PR.

roles/grafana_agent/handlers/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/tasks/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/tasks/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/templates/grafana_repo.yml.j2 Outdated Show resolved Hide resolved
roles/grafana_agent/tasks/main.yml Outdated Show resolved Hide resolved
@akraitman akraitman force-pushed the wip-grafana-agent branch 3 times, most recently from 1b56324 to 69c68f5 Compare April 27, 2023 17:43
roles/grafana_agent/tasks/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/tasks/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/defaults/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/defaults/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/defaults/main.yml Outdated Show resolved Hide resolved
roles/grafana_agent/defaults/main.yml Show resolved Hide resolved
@akraitman akraitman force-pushed the wip-grafana-agent branch from 69c68f5 to 93ea4b0 Compare May 4, 2023 12:17
@ktdreyer
Copy link
Member

ktdreyer commented May 8, 2023

Could you merge #733 first, then rebase this PR onto main? Then the linter will run on this PR.

@ktdreyer
Copy link
Member

ktdreyer commented May 8, 2023

I don't think we should put variables into main.yml unless we'll set different values for different hosts. You can always template those settings out later and move them to main.yml later in future pull requests.

@ktdreyer
Copy link
Member

Adam and I chatted about this PR.

  • These variables exist because Adam sets them with extra_vars when running the playbook interactively on his computer.
  • We discussed the possibility of tracking those particular non-default choices in host_vars or group_vars instead so that we can understand how and why Adam made those choices to alter the values from the defaults.

@akraitman akraitman force-pushed the wip-grafana-agent branch from 93ea4b0 to 36577f9 Compare May 29, 2023 14:27
@akraitman akraitman requested a review from ktdreyer May 29, 2023 14:30
@akraitman akraitman requested a review from dmick November 17, 2023 07:52
@dmick
Copy link
Member

dmick commented Mar 22, 2024

@akraitman have you resolved all of Ken's earlier issues?

@akraitman
Copy link
Contributor Author

akraitman commented Mar 26, 2024

@akraitman have you resolved all of Ken's earlier issues?

Yes, I removed the if statement from grafana-agent.yaml.j2 and removed the "agent_metrics" variable from defaults/main.yml

djgalloway
djgalloway previously approved these changes Dec 10, 2024
@djgalloway djgalloway self-requested a review January 17, 2025 16:46
@djgalloway djgalloway merged commit 1ffa66d into main Jan 17, 2025
4 checks passed
@djgalloway djgalloway deleted the wip-grafana-agent branch January 17, 2025 16:47
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.

4 participants