-
Notifications
You must be signed in to change notification settings - Fork 816
Change config flags, add flags to disable Alertmanager notifications methods: email & webhoook #2187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Change config flags, add flags to disable Alertmanager notifications methods: email & webhoook #2187
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
cfb3ab5
Added flags to disable Alertmanager notifications methods.
Wing924 bba4f81
fix
Wing924 61eb461
add doc
Wing924 f1b27a9
Merge branch 'master' into opt-in-alert-email
Wing924 13caa80
fix
Wing924 488de6a
wip
Wing924 2eecb5b
Merge branch 'master' into opt-in-alert-email
Wing924 f0e2252
fix
Wing924 62e4fd8
fix
Wing924 1dd81f5
fix
Wing924 3672c50
fix
Wing924 13ce0c5
fix
Wing924 8c4dc50
Merge branch 'master' into opt-in-alert-email
Wing924 b252218
fix
Wing924 91dcdc9
fix
Wing924 30205f1
Merge branch 'master' into opt-in-alert-email
Wing924 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
|
@@ -118,9 +118,8 @@ Where default_value is the value to use if the environment variable is undefined | |
# The ruler_config configures the Cortex ruler. | ||
[ruler: <ruler_config>] | ||
|
||
# The configdb_config configures the config database storing rules and alerts, | ||
# and used by the 'configs' service to expose APIs to manage them. | ||
[configdb: <configdb_config>] | ||
# The configs_config configures the Cortex Configs DB and API. | ||
[configs: <configs_config>] | ||
|
||
# The alertmanager_config configures the Cortex alertmanager. | ||
[alertmanager: <alertmanager_config>] | ||
|
@@ -2081,22 +2080,33 @@ The `fifo_cache_config` configures the local in-memory cache. | |
[validity: <duration> | default = 0s] | ||
``` | ||
|
||
### `configdb_config` | ||
### `configs_config` | ||
|
||
The `configdb_config` configures the config database storing rules and alerts, and used by the 'configs' service to expose APIs to manage them. | ||
The `configs_config` configures the Cortex Configs DB and API. | ||
|
||
```yaml | ||
# URI where the database can be found (for dev you can use memory://) | ||
# CLI flag: -database.uri | ||
[uri: <string> | default = "postgres://[email protected]/configs?sslmode=disable"] | ||
database: | ||
# URI where the database can be found (for dev you can use memory://) | ||
# CLI flag: -configs.database.uri | ||
[uri: <string> | default = "postgres://[email protected]/configs?sslmode=disable"] | ||
|
||
# Path where the database migration files can be found | ||
# CLI flag: -database.migrations | ||
[migrationsdir: <string> | default = ""] | ||
# Path where the database migration files can be found | ||
# CLI flag: -configs.database.migrations-dir | ||
[migrations_dir: <string> | default = ""] | ||
pracucci marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# File containing password (username goes in URI) | ||
# CLI flag: -database.password-file | ||
[passwordfile: <string> | default = ""] | ||
# File containing password (username goes in URI) | ||
# CLI flag: -configs.database.password-file | ||
[password_file: <string> | default = ""] | ||
pracucci marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
api: | ||
notifications: | ||
# Disable Email notifications for Alertmanager. | ||
# CLI flag: -configs.notifications.disable-email | ||
[disable_email: <boolean> | default = false] | ||
|
||
# Disable WebHook notifications for Alertmanager. | ||
# CLI flag: -configs.notifications.disable-webhook | ||
[disable_webhook: <boolean> | default = false] | ||
``` | ||
|
||
### `configstore_config` | ||
|
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.