New in version 2.6.
The below requirements are needed on the local master node that executes this callback.
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
grafana_api_key |
ini entries:
[callback_grafana_annotations ] env:GRAFANA_API_KEY
|
Grafana API key, allowing to authenticate when posting on the HTTP API. If not provided, grafana_login and grafana_password will be required.
|
|
grafana_dashboard_id |
ini entries:
[callback_grafana_annotations ] env:GRAFANA_DASHBOARD_ID
|
The grafana dashboard id where the annotation shall be created.
|
|
grafana_panel_id |
ini entries:
[callback_grafana_annotations ] env:GRAFANA_PANEL_ID
|
The grafana panel id where the annotation shall be created.
|
|
grafana_password |
Default: ansible
|
ini entries:
[callback_grafana_annotations ] env:GRAFANA_PASSWORD
|
Grafana password used for authentication. Ignored if grafana_api_key is provided.
|
grafana_url
required |
ini entries:
[callback_grafana_annotations ] env:GRAFANA_URL
|
Grafana annotations api URL
|
|
grafana_user |
Default: ansible
|
ini entries:
[callback_grafana_annotations ] env:GRAFANA_USER
|
Grafana user used for authentication. Ignored if grafana_api_key is provided.
|
http_agent |
Default: Ansible (grafana_annotations callback)
|
ini entries:
[callback_grafana_annotations ] env:HTTP_AGENT
|
The HTTP 'User-agent' value to set in HTTP requets.
|
validate_grafana_certs |
Default: yes
|
ini entries:
[callback_grafana_annotations ] env:GRAFANA_VALIDATE_CERT
|
(bool) validate the SSL certificate of the Grafana server. (For HTTPS url)
|
Hint
If you notice any issues in this documentation you can edit this document to improve it.