ismail simsek
ead3a002df
[v9.3.x] Expressions: Fixes the issue showing expressions editor ( #62627 )
...
Expressions: Fixes the issue showing expressions editor (#62510 )
* Use suggested value for uid
* update the snapshot
* use __expr__
* replace all -100 with __expr__
* update snapshot
* more changes
* revert redundant change
* Use expr.DatasourceUID where it's possible
* generate files
(cherry picked from commit 91221bc436 )
2023-01-31 14:31:33 -05:00
Grot (@grafanabot)
a2263b9249
[v9.3.x] Alerting: Enable interpolation for notification policies in file provisioning ( #59140 )
...
Alerting: Enable interpolation for notification policies in file provisioning (#58956 )
(cherry picked from commit 41b3398eb4 )
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2022-11-22 17:27:08 +01:00
Grot (@grafanabot)
90a904fbd5
[v9.3.x] Alerting: Support Prometheus durations in Provisioning API ( #59067 )
...
Alerting: Support Prometheus durations in Provisioning API (#58293 )
Provisioning API should support Prometheus durations
(cherry picked from commit 57d6adbc7c )
Co-authored-by: Bart Peeters <birtpeeters@hotmail.com >
2022-11-21 19:15:54 +00:00
Jean-Philippe Quéméner
0f2afb6417
Alerting: support env variables in contact point settings when provsioning ( #55666 )
2022-09-23 08:06:51 -05:00
Jean-Philippe Quéméner
74c66b29d0
Alerting: Skip unsupported file types on provisioning ( #55573 )
2022-09-21 16:48:39 +02:00
Michael Musenbrock
099d3cdf72
Provisioning Contact points: Support disableResolveMessage via YAML too ( #54122 )
...
Signed-off-by: Michael Musenbrock <michael.musenbrock@gmail.com >
2022-09-15 12:19:34 -04:00
Jean-Philippe Quéméner
bc4d929c67
Alerting: remove interpolation of annotations from alert rule file provisioning ( #54975 )
2022-09-09 18:47:54 +02:00
Jean-Philippe Quéméner
a932428057
Alerting: use raw query data in provisioning to bypass interpolation of macros ( #54293 )
2022-08-26 23:54:30 +02:00
Jean-Philippe Quéméner
49b1182f34
Alerting: add missing yaml tag to mute time struct ( #54287 )
2022-08-26 23:30:07 +02:00
Jo
ca72cd570e
Remove ioutil.ReadDir from usage ( #53550 )
...
* add depguard rule for ioutil
* replace ioutil.ReadDir with os.ReadDir
* use legacy option in depguard supported in golangci-lint v1.40
* replace ioutil.ReadDir with os.ReadDir
* return error for file info
2022-08-11 07:21:12 -04:00
Jo
062d255124
Handle ioutil deprecations ( #53526 )
...
* replace ioutil.ReadFile -> os.ReadFile
* replace ioutil.ReadAll -> io.ReadAll
* replace ioutil.TempFile -> os.CreateTemp
* replace ioutil.NopCloser -> io.NopCloser
* replace ioutil.WriteFile -> os.WriteFile
* replace ioutil.TempDir -> os.MkdirTemp
* replace ioutil.Discard -> io.Discard
2022-08-10 15:37:51 +02:00
Jean-Philippe Quéméner
8fc8d00167
Alerting: Add file provisioning for text templates ( #52952 )
2022-08-01 20:50:03 +02:00
Jean-Philippe Quéméner
3d39594d75
Alerting: Add file provisioning for mute timings ( #52936 )
2022-08-01 14:19:33 -04:00
Jean-Philippe Quéméner
eab6365cf7
Alerting: Add file provisioning for notification policies ( #52877 )
2022-08-01 19:14:57 +02:00
Jean-Philippe Quéméner
d9cace4dca
Alerting: Add file provisioning for contact points ( #51924 )
2022-08-01 18:17:42 +02:00
Jean-Philippe Quéméner
41790083d2
Alerting: Add file provisioning for alert rules ( #51635 )
2022-07-14 23:53:13 +02:00