galaxyproject / galaxyproject/training-material

Monitoring tutorial overhaul

Open
#4,051 0 comments 0 reactions 1 assignee Claimed by @hexylena View on GitHub
Dominant language
HTML
Stars
367
Forks
1.1k
Avg merge
16h 27m
Merged PRs (30d)
49

Description

Either we need to switch to EU's influxdb role where they use a container to deploy influxdb

Or we need to replace it, because version 2 is too different. Perhaps we replace it with Prometheus.

Additionally:
- telegraf should come before grafana
- we should investigate the output
- then set up grafana after

```yaml
---
- hosts: all
become: true
roles:
- prometheus.prometheus.prometheus
vars:
prometheus_scrape_configs:
- job_name: "prometheus"
metrics_path: "{{ prometheus_metrics_path }}"
static_configs:
- targets:
- "{{ ansible_fqdn | default(ansible_host) | default('localhost') }}:9090"
- job_name: "gtn"
metrics_path: "/training-material/metrics"
scheme: https
static_configs:
- targets:
- "training.galaxyproject.org"
- job_name: "tiaas"
metrics_path: "/tiaas/metrics"
scheme: https
static_configs:
- targets:
- "usegalaxy.eu"
- "usegalaxy.fr"
- "usegalaxy.org"
- "usegalaxy.org.au"
```

this works OK, once the collection is installed:

```console
ansible-galaxy collection install prometheus.prometheus -p collections
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.