-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* PMM-11206 Refactoring * PMM-11206 Regenerate mocks * PMM-11206 Refactoring * PMM-11206 Update comment * PMM-11206 Allow to upload multiple templates at once, improve error messages * PMM-11206 Fix * PMM-11206 Add API test * PMM-11206 Fix linter warning * PMM-11206 Cleanup * PMM-11206 Fix API tests * PMM-11206 Update saas dependency * PMM-11206 Fix * PMM-11206 Fix API test * PMM-11206 Update saas dependency * PMM-11206 Fix
- Loading branch information
1 parent
146167a
commit feaf7af
Showing
21 changed files
with
316 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
templates: | ||
- name: test_template_1 | ||
version: 1 | ||
summary: Test summary 1 | ||
tiers: [ anonymous, registered ] | ||
expr: "test expression" | ||
params: | ||
- name: param1 | ||
summary: first parameter with default value and defined range | ||
unit: s | ||
type: float | ||
range: [ 0, 100 ] | ||
value: 80 | ||
- name: param2 | ||
summary: second parameter without default value and defined range | ||
unit: s | ||
type: float | ||
for: 300s | ||
severity: warning | ||
labels: | ||
foo: bar | ||
annotations: | ||
description: test description | ||
summary: test summary | ||
|
||
- name: test_template_2 | ||
version: 1 | ||
summary: Test summary 2 | ||
tiers: [ anonymous, registered ] | ||
expr: "test expression" | ||
params: | ||
- name: param1 | ||
summary: first parameter with default value and defined range | ||
unit: s | ||
type: float | ||
range: [ 0, 100 ] | ||
value: 80 | ||
- name: param2 | ||
summary: second parameter without default value and defined range | ||
unit: s | ||
type: float | ||
for: 300s | ||
severity: warning | ||
labels: | ||
foo: bar | ||
annotations: | ||
description: test description | ||
summary: test summary |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
api/managementpb/alerting/json/client/alerting/create_template_responses.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
api/managementpb/alerting/json/client/alerting/list_templates_responses.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
api/managementpb/alerting/json/client/alerting/update_template_responses.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.