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

Commit

Permalink
Add latest changes made on ansible repo that were not backported here
Browse files Browse the repository at this point in the history
  • Loading branch information
rrey committed Feb 11, 2019
1 parent 003060f commit 05757e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions callback_plugins/grafana_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
author: "Rémi REY (@rrey)"
description:
- This callback will report start, failed and stats events to Grafana as annotations (https://grafana.com)
version_added: "2.5"
version_added: "2.6"
requirements:
- whitelisting in configuration
options:
Expand All @@ -34,13 +34,14 @@
- section: callback_grafana_annotations
key: grafana_url
validate_grafana_certs:
description: (bool) validate the SSL certificate of the Grafana server. (For HTTPS url)
description: validate the SSL certificate of the Grafana server. (For HTTPS url)
env:
- name: GRAFANA_VALIDATE_CERT
ini:
- section: callback_grafana_annotations
key: validate_grafana_certs
default: True
type: bool
http_agent:
description: The HTTP 'User-agent' value to set in HTTP requets.
env:
Expand Down Expand Up @@ -135,7 +136,7 @@ class CallbackModule(CallbackBase):
and put the plugin in <path_to_callback_plugins_folder>
"""

CALLBACK_VERSION = 1.0
CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate'
CALLBACK_NAME = 'grafana_annotations'
CALLBACK_NEEDS_WHITELIST = True
Expand Down

0 comments on commit 05757e3

Please sign in to comment.