generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add support for sysdig deploy params #74
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
Changes from 12 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
b568a1a
feat: add support for sysdig deploy params
e72fd43
Merge branch 'main' into missing-logic
jor2 593d873
feat: add support for sysdig deploy params
d9aed72
Merge branch 'main' into missing-logic
jor2 cfbd5ae
Merge branch 'main' into missing-logic
jor2 a20bf01
feat: add features to new DA helm chart
2b03460
feat: add features to new DA helm chart
4e9ec24
feat: add features to new DA helm chart
0bb303d
fix: module
da0d441
fix: example
1a08557
Merge branch 'main' into missing-logic
jor2 690bf87
fix: address feedback
81cd487
feat: onboard cloudpak 4 data
66422c0
feat: address feedback
25e6c7d
Merge branch 'main' into missing-logic
jor2 e37aa52
fix: update code
ed1d43e
fix: update code
791b97a
fix: update code
5ce946c
Merge branch 'main' into missing-logic
jor2 19b2643
fix: tests
63e8354
Merge branch 'main' into missing-logic
jor2 bca4597
fix: updates from doc
67358c7
fix: updated wording
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
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
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
2 changes: 1 addition & 1 deletion
2
reference-architecture/deployable-architecture-monitoring-agent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| ## `metrics_filter` | ||
|
|
||
| The `metrics_filter` variable allows you to control which custom metrics are collected by the IBM Cloud Monitoring agent. You can specify patterns to **include** or **exclude** certain metrics, giving you fine-grained control over the data sent to IBM Cloud Monitoring. | ||
|
|
||
| ### Type | ||
|
|
||
| ```hcl | ||
| type = list(object({ | ||
| include = optional(string) | ||
| exclude = optional(string) | ||
| })) | ||
| ``` | ||
|
|
||
| ### Description | ||
|
|
||
| - **Purpose:** | ||
| Use `metrics_filter` to specify which metrics to include or exclude from collection. This is useful for reducing noise, focusing on relevant metrics, or optimizing resource usage. | ||
|
|
||
| - **How it works:** | ||
| Each entry in the list can have an `include` or `exclude` field (or both). | ||
| - The value should be a string pattern (supports wildcards, e.g., `metricA.*`). | ||
| - `exclude` takes precedence over `include` if both match a metric. | ||
|
|
||
| - **Default:** | ||
| ```hcl | ||
| default = [] | ||
| ``` | ||
| By default, no filtering is applied—all metrics are collected. | ||
|
|
||
| ### Example Usage | ||
|
|
||
| ```hcl | ||
| metrics_filter = [ | ||
jor2 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| { exclude = "kube_pod_container_status_terminated_reason_oomkilled" }, | ||
| { include = "custom_metric_prefix.*" } | ||
| ] | ||
| ``` | ||
|
|
||
| - The above configuration will: | ||
| - Exclude all metrics matching `kube_pod_container_status_terminated_reason_oomkilled` | ||
| - Include all metrics starting with `custom_metric_prefix.` | ||
|
|
||
| ### References | ||
|
|
||
| - [IBM Docs: Filter metrics](https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_inc_exc_metrics) | ||
| --- | ||
|
|
||
| **Tip:** | ||
| Use `metrics_filter` to optimize your monitoring setup by collecting only the metrics that matter most to your use case. This can help reduce costs and improve performance. | ||
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.