-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for pod matching based on labels
This change adds a new selector property `k8s_pod_labels` to the services configuration. This selector property will limit the instrumentation to the applications running in the Pods having labels with keys matching the provided value as regular expression.
- Loading branch information
Showing
7 changed files
with
72 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,6 +396,16 @@ expression. | |
If other selectors are specified in the same `services` entry, the processes to be | ||
selected need to match all the selector properties. | ||
|
||
| YAML | Env var | Type | Default | | ||
Check failure on line 399 in docs/sources/configure/options.md
|
||
| ---------------- | ------- | --------------------------- | ------- | | ||
| `k8s_pod_labels` | -- | map\[string\]string (regular expression) | (unset) | | ||
|
||
This selector property will limit the instrumentation to the applications | ||
Check warning on line 403 in docs/sources/configure/options.md
|
||
running in the Pods having labels with keys matching the provided value as regular expression. | ||
|
||
If other selectors are specified in the same `services` entry, the processes to be | ||
selected need to match all the selector properties. | ||
|
||
## EBPF tracer | ||
|
||
YAML section `ebpf`. | ||
|
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
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