The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Go to file
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
.circleci Circle: Remove release pipeline (#28474) 2020-10-22 16:22:48 +02:00
.github Chore: remove checkout step (#31614) 2021-03-24 13:40:34 +00:00
conf HttpServer: Make read timeout configurable but disabled by default (#31575) 2021-03-19 11:21:52 +01:00
contribute Docs: Document upgrading of protobuf (#32227) 2021-03-22 19:28:33 +01:00
dashboard-schemas DashboardSchemas: OpenAPI Schema Generation (#30242) 2021-01-19 18:25:00 +01:00
devenv Chore: Remove elasticsearch 1.x from devenv (#32283) 2021-03-24 14:57:32 +00:00
docs Alerting: Allow sending notification tags to Opsgenie as extra properties (#30332) 2021-03-24 17:07:26 +01:00
e2e Routing NG: Replace Angular routing with react-router (#31463) 2021-03-10 18:03:36 +01:00
emails AlertingNG: Notification channel for emails (#31768) 2021-03-18 14:55:11 +00:00
grafana-mixin reduce severity level to warning (#28939) 2020-11-20 10:30:51 +01:00
packages GraphLegend: updates story from knobs to controls (#32285) 2021-03-24 15:56:33 +01:00
packaging Docker: Support pre-installing plugins from other sources in custom Dockerfiles (#31234) 2021-03-11 12:17:34 +01:00
pkg Alerting: Allow sending notification tags to Opsgenie as extra properties (#30332) 2021-03-24 17:07:26 +01:00
plugins-bundled Revert ""Release: Updated versions in package to 7.4.3" (#31444)" (#31452) 2021-02-24 17:53:08 +01:00
public PieChartV2: Add migration from old piechart (#32259) 2021-03-24 14:46:13 +01:00
scripts Access control: Basic structure and functionality behind feature toggle (#31893) 2021-03-22 13:22:48 +01:00
tools Image Rendering: Remove PhantomJS support (#23460) 2020-04-15 22:17:41 +02:00
.babelrc Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
.bra.toml Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02:00
.browserslistrc Fix: Autoprefixer is now working (#16351) 2019-04-02 18:15:30 +02:00
.dockerignore remove duplicated /tmp entry in .dockerignore 2018-08-09 09:10:53 +02:00
.drone.star Drone: Add version branch pipeline (#28490) 2020-10-23 10:16:17 +02:00
.drone.yml Update scripts and Dockerfiles to use Go 1.16.1 (#31881) 2021-03-11 12:55:04 +02:00
.editorconfig Chore: Enable PR testing in Drone (#26189) 2020-07-10 16:09:21 +02:00
.eslintignore Chore: Lint all files for no-only-tests (#30364) 2021-01-19 11:06:27 +01:00
.eslintrc Chore: Fix eslint react hook warnings in grafana-ui (#31092) 2021-02-24 17:21:47 +01:00
.gitattributes CRLF (#28822) 2020-11-05 17:20:40 +01:00
.gitignore Add menu.yaml to .gitignore (#30743) 2021-01-29 10:42:53 -05:00
.prettierignore Prettier: ignore build and devenv dirs (#30501) 2021-01-21 11:11:43 -08:00
.prettierrc.js Prettier: Add prettier config that imports prettier from toolkit (#23729) 2020-04-21 17:23:49 +02:00
api-extractor.json Docs: added code comments for everything in the @grafana/runtime package. (#23456) 2020-04-15 10:46:51 +02:00
build.go Grunt: Removes grunt dependency and replaces some of its usage (#29461) 2020-12-01 10:32:12 +01:00
CHANGELOG_ARCHIVE.md Automation: Adds new changelog actions (#29142) 2020-11-16 21:34:19 +01:00
CHANGELOG.md ReleaseNotes: Updated changelog and release notes for 7.5.0-beta2 (#32160) 2021-03-19 15:34:14 +01:00
CODE_OF_CONDUCT.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
CONTRIBUTING.md IssueTriage: Needs more info automation and messages (#28137) 2020-10-16 16:49:55 +02:00
Dockerfile Downgrade to node:14.16.0-alpine3.13 (#32065) 2021-03-17 17:07:39 +02:00
Dockerfile.ubuntu Make build docker full fix (#29570) 2020-12-03 14:17:40 +01:00
go.mod Extricates reusable utilities for different alerting proxy types (#32268) 2021-03-24 07:43:25 -04:00
go.sum Alerting: Fetch configuration from the database and run a notification service (#32175) 2021-03-24 14:20:44 +00:00
GOVERNANCE.md Add Alex Khomenko as member (#28032) 2020-10-05 15:08:16 +03:00
ISSUE_TRIAGE.md GrafanaBot: Update labels and commands and adds docs (#28950) 2020-11-09 21:45:18 +01:00
jest.config.js Chore: Bump storybook to v6 (#28926) 2020-11-24 10:38:41 +01:00
latest.json Update latest.json to 7.5.0-beta2 (#32167) 2021-03-19 16:28:57 +01:00
lerna.json Revert ""Release: Updated versions in package to 7.4.3" (#31444)" (#31452) 2021-02-24 17:53:08 +01:00
LICENSE Small license correction 2019-03-21 16:36:24 +01:00
MAINTAINERS.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
Makefile Remove tidy-check script (#31423) 2021-02-23 17:53:30 +02:00
NOTICE.md Update NOTICE.md 2021-01-06 08:16:50 +01:00
package.json chore(deps): remove load-grunt-tasks dependency (#32070) 2021-03-23 10:50:44 +01:00
PLUGIN_DEV.md Update PLUGIN_DEV.md (#19387) 2019-09-26 12:40:47 +02:00
README.md Fix titles case and add missing punctuation marks (#28713) 2020-11-05 09:17:08 -05:00
ROADMAP.md Update ROADMAP.md (#19384) 2019-09-25 07:18:35 +02:00
SECURITY.md Docs: Fix broken link (#25664) 2020-06-18 14:08:26 +02:00
SUPPORT.md Update SUPPORT.md (#19383) 2019-09-25 07:17:01 +02:00
tsconfig.json Tests: Adds expects for observables (#28929) 2020-11-18 15:18:55 +01:00
UPGRADING_DEPENDENCIES.md Docs: Fix note format for documentation (#27940) 2020-09-30 12:45:07 -07:00
WORKFLOW.md Docs: Minor docs update 2020-11-10 12:14:02 +01:00
yarn.lock chore(deps): remove load-grunt-tasks dependency (#32070) 2021-03-23 10:50:44 +01:00

Grafana

The open-source platform for monitoring and observability.

License Circle CI Go Report Card

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data driven culture:

  • Visualize: Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways to visualize metrics and logs.
  • Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard.
  • Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side.
  • Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live.
  • Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie.
  • Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.

Get started

Unsure if Grafana is for you? Watch Grafana in action on play.grafana.org!

Documentation

The Grafana documentation is available at grafana.com/docs.

Contributing

If you're interested in contributing to the Grafana project:

Get involved

License

Grafana is distributed under the Apache 2.0 License.