~zzehring/charm-telegraf:feature/dashboard-migration

Last commit made on 2020-05-08
Get this branch:
git clone -b feature/dashboard-migration https://git.launchpad.net/~zzehring/charm-telegraf
Only Zachary Zehring can upload to this branch. If you are Zachary Zehring please log in for upload directions.

Branch merges

Branch information

Name:
feature/dashboard-migration
Repository:
lp:~zzehring/charm-telegraf

Recent commits

e7a77aa... by Zachary Zehring

Add dashboard enhancements for new inputs and fix dashboard bug.

Had bug where normal jinja template context vars have same syntax as
grafana variable syntax ("{{ var }}"). Replace it with << >> and stole
render_custom() function from grafana to accommodate this requirement.
Also implemented various rows, graphs (/proc/vmstat info, interrupts, and
nstat info), and other fixes (e.g. missing filter on selected hosts).

65f2065... by Zachary Zehring

Add grafana dashboard interface to publish telegraf dashboard.

This commit focuses on integrating the telegraf dashboard into the charm. Previously,
this existed in the grafana charm itself. The charm now uses the grafana-dashboard
interface to register its dashboard into grafana. A new config option is added as well
to specify the prometheus datasource (usually the prometheus application name). The
interface used to interface with Prometheus needs to be fleshed out more to allow for
automatic population of datasource as well as customizing the dashboard based on
metrics.

- add grafana-dashboard to metadata.yaml and layer.yaml as provider
- add leadership layer to handle leadership specific hooks
- implement prometheus_datasource config option
- add prometheus-client.configured flag to show when config is done
- add hooks for registering, loading, unregistering, and error handling for dashboard
- add grafana dashboard unit tests

5efa4ca... by Zachary Zehring

Add nstat, interrupts, and kernel_vmstat inputs to default telegraf.conf.

4f58bab... by Jeremy Lounder

Updated maintainers in metadata.yaml

d8a657c... by Haw Loeung

Added focal (20.04) support

e58f7f4... by Nicolas Pochet

Add socket_listener_port config option

* Add socket_listener_port as a config option
* Add unit tests
* Fixes LP:1817406

Reviewed-on: https://code.launchpad.net/~npochet/telegraf-charm/+git/telegraf-charm/+merge/367405
Reviewed-by: Jeremy Lounder <email address hidden>

53d9aca... by Nicolas Pochet

Add socket_listener_port config option

* Add socket_listener_port as a config option
* Add unit tests
* Fixes LP:1817406

c6b6f68... by Stuart Bishop

pg_stat_archiver PostgreSQL metrics

pg_stat_archiver provides non-streaming WAL shipping metrics

Reviewed-on: https://code.launchpad.net/~stub/telegraf-charm/+git/telegraf-charm/+merge/362715
Reviewed-by: Joel Sing <email address hidden>

676caf7... by Stuart Bishop

pg_stat_archiver PostgreSQL metrics

a2692cf... by Stuart Bishop

Fix PostgreSQL 10+ support for hot standbys

Reviewed-on: https://code.launchpad.net/~stub/telegraf-charm/+git/telegraf-charm/+merge/360108
Reviewed-by: Junien Fridrick <email address hidden>