Skip to content

Commit

Permalink
Merge pull request #17 from personio/add-markdown-widgets
Browse files Browse the repository at this point in the history
Add support for text widgets
  • Loading branch information
fpetkovski authored Nov 11, 2020
2 parents 008315d + a0c1a92 commit 0515430
Show file tree
Hide file tree
Showing 9 changed files with 832 additions and 877 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.0] - 2020-11-11
- Add support for text-based widgets using visualization: markdown

## [1.4.0] - 2020-11-07
- Make sinceMinutes in nrqlConditions optional

Expand Down
2 changes: 1 addition & 1 deletion deploy/3-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
serviceAccountName: newrelic-alert-manager
containers:
- name: newrelic-alert-manager
image: personio/newrelic-alert-manager:1.4.0
image: personio/newrelic-alert-manager:1.5.0
command:
- newrelic-alert-manager
imagePullPolicy: Always
Expand Down
9 changes: 7 additions & 2 deletions deploy/crds/dashboards.newrelic.io_dashboards_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ spec:
description: The NRQL query used which defines the data to
plot in the widget
type: string
source:
description: 'The text shown on the widget. Use in conjunction
with visualization: markdown'
type: string
type: object
layout:
description: Defines the layout of the widget within the dashboard
Expand Down Expand Up @@ -140,8 +144,8 @@ spec:
\ - `comparison_line_chart` \ - `event_table` \ - `facet_bar_chart`
\ - `facet_pie_chart` \ - `facet_table` \ - `faceted_area_chart`
\ - `faceted_line_chart` \ - `funnel` \ - `gauge` \ - `heatmap`
\ - `histogram` \ - `json` \ - `line_chart` \ - `list` \ - `metric_line_chart`
(used for apm metrics) \'
\ - `histogram` \ - `json` \ - `line_chart` \ - `markdown` \
- `list` \ - `metric_line_chart` (used for apm metrics) \'
enum:
- application_breakdown
- attribute_sheet
Expand All @@ -162,6 +166,7 @@ spec:
- json
- line_chart
- list
- markdown
- metric_line_chart
type: string
required:
Expand Down
Loading

0 comments on commit 0515430

Please sign in to comment.