Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Commit 05757e3

Browse files
committed
Add latest changes made on ansible repo that were not backported here
1 parent 003060f commit 05757e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

callback_plugins/grafana_annotations.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
author: "Rémi REY (@rrey)"
2222
description:
2323
- This callback will report start, failed and stats events to Grafana as annotations (https://grafana.com)
24-
version_added: "2.5"
24+
version_added: "2.6"
2525
requirements:
2626
- whitelisting in configuration
2727
options:
@@ -34,13 +34,14 @@
3434
- section: callback_grafana_annotations
3535
key: grafana_url
3636
validate_grafana_certs:
37-
description: (bool) validate the SSL certificate of the Grafana server. (For HTTPS url)
37+
description: validate the SSL certificate of the Grafana server. (For HTTPS url)
3838
env:
3939
- name: GRAFANA_VALIDATE_CERT
4040
ini:
4141
- section: callback_grafana_annotations
4242
key: validate_grafana_certs
4343
default: True
44+
type: bool
4445
http_agent:
4546
description: The HTTP 'User-agent' value to set in HTTP requets.
4647
env:
@@ -135,7 +136,7 @@ class CallbackModule(CallbackBase):
135136
and put the plugin in <path_to_callback_plugins_folder>
136137
"""
137138

138-
CALLBACK_VERSION = 1.0
139+
CALLBACK_VERSION = 2.0
139140
CALLBACK_TYPE = 'aggregate'
140141
CALLBACK_NAME = 'grafana_annotations'
141142
CALLBACK_NEEDS_WHITELIST = True

0 commit comments

Comments
 (0)