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

feat: monitoring stack #52

Merged
merged 1 commit into from
Apr 27, 2023
Merged

feat: monitoring stack #52

merged 1 commit into from
Apr 27, 2023

Conversation

leopaul36
Copy link
Contributor

Linked issues

Changes

  • Added the ash.avalanche.install_monitoring_stack playbook to install Prometheus, Prometheus Node Exporter and Grafana
  • Added the Prometheus collection and Grafana role in requirements.txt

Additional comments

Dashboards

Dashboards come from https://github.com/ava-labs/avalanche-monitoring, I opened ava-labs/avalanche-monitoring#8 to fix some light issues.

The Subnets dashboard will require templating so I saved it for later.

Warnings

When running the ash.avalanche.install_monitoring_stack playbook from the ansible-avalanche-getting-started env, the following warnings can be seen:

[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.14.3
  • docs state ~= 2.14.0 so we should be good.
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. See https://docs.ansible.com/ansible-
core/2.14/user_guide/playbooks_reuse_includes.html for details. This feature will be removed in version 2.16. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
  • Comes from the include statements in tasks/main.yml, the role is quite old but still does the job.

@leopaul36 leopaul36 merged commit 5e23b5c into main Apr 27, 2023
@leopaul36 leopaul36 deleted the 51-monitoring-stack branch April 27, 2023 12:15
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.

Add a monitoring stack playbook
2 participants