grafana/docs/sources/administration
Dewald Viljoen 6fa53a1ee4
Alerting: Allow sending notification tags to Opsgenie as extra properties (#30332)
* Alerting: Opsgenie send tags as extra properties

Allow users to select where to send notification tags when alerting via
OpsGenie. Supports sending tags as key/value details, concatenated
strings in tags or both.

Users will be able to see their tags as key/values under extra
properties in an alert on the Opsgenie UI. These key/values can
then be used in the platform for routing, templating etc.

  * Configurable delivery to either tags, extra properties or both

  * Default to current behaviour (tags only)

  * Support both so users can transition from tags to details

Add docs and clean up references

* Alerting: Add additional arg for Opsgenie tests

The NewEvalContext function now requires a 'PluginRequestValidator' argument.
As our test does not use the validator we can specify 'nil' to satisfy the
function and allow our test to pass as expected.

* Alerting: Opsgenie doc fixes

Accept suggested changes for Opsgenie docs

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Alerting: Opsgenie provisioning settings docs

Add the new setting to the provisioning docs

* Alerting: Opsgenie doc typo correction

Move the comma (,) out of the preformatting tags for the setting value

* Alerting: Opsgenie refactor send switches

Refactor the send switches to be methods on the OpsgenieNotiefier
itself. This also cleans up the method names so that the code reads
a bit more logically as:

if we should send details: send details
if we should send tags: send tags

This avoids the calling code needing to care about passing the state
and allows an engineer working in the `createAlert` function to focus
on the results of applying the logic instead.

* Alerting: Opsgenie docs rename note


Rename the note heading to match the number to more clearly link them.

* Alerting: Opsgenie use standard reference to note

Refer to the note below as per recommendation and standards.

Fixes #30331

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-03-24 17:07:26 +01:00
..
preferences Docs: Rewrite preferences docs (#31154) 2021-02-12 22:19:03 +01:00
view-server Docs: Add server view folder (#30849) 2021-02-03 08:25:46 -08:00
_index.md Docs: Org, Team, and User Admin (#30756) 2021-02-03 12:15:23 -08:00
cli.md addressed issues 28763 and 30314. (#31404) 2021-02-22 19:56:12 -05:00
configuration.md HttpServer: Make read timeout configurable but disabled by default (#31575) 2021-03-19 11:21:52 +01:00
configure-docker.md Docs: Add server view folder (#30849) 2021-02-03 08:25:46 -08:00
image_rendering.md Updated introduction and added a note. (#32236) 2021-03-23 09:24:22 -04:00
jaeger-instrumentation.md Docs: Add server view folder (#30849) 2021-02-03 08:25:46 -08:00
provisioning.md Alerting: Allow sending notification tags to Opsgenie as extra properties (#30332) 2021-03-24 17:07:26 +01:00
security.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
set-up-for-high-availability.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00