You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 28c3446
Browse filesBrowse the repository at this point in the historyBrowse files
Create a Telemetry Router instance with name "my-instance" that only routes telemetry data for HTTP GET or HEAD requests, matched at the resource level, using a filter configuration sourced from a JSON file; use "stackit beta telemetry-router instance generate-filter" to generate a starting point for "./filter.json"; available attributes are documented in https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/basics/dataformats/
--filter string Filter configuration as JSON, of the form {"attributes": [{"key": ..., "level": ..., "matcher": ..., "values": [...]}, ...]}. Can be a JSON string or a file path, if prefixed with "@" (example: @./filter.json). Run "stackit beta telemetry-router instance generate-filter" to generate a starting point.
32
-
-h, --help[=true|false] Help for "stackit beta telemetry-router instance create"
32
+
--description string Description
33
+
--display-name string Display name
34
+
--filter string Filter configuration as JSON, of the form {"attributes": [{"key": ..., "level": ..., "matcher": ..., "values": [...]}, ...]}. Can be a JSON string or a file path, if prefixed with "@" (example: @./filter.json). Run "stackit beta telemetry-router instance generate-filter" to generate a starting point.
35
+
-h, --help[=true|false] Help for "stackit beta telemetry-router instance create"
36
+
--labels stringToString Labels in key=value format, separated by commas. Example: --labels "key1=value1,key2=value2". (default [])
Replace the filter attributes of the Telemetry Router instance with ID "xxx" with a filter configuration sourced from a JSON file so it only routes telemetry data for HTTP GET or HEAD requests, matched at the resource level; use "stackit beta telemetry-router instance generate-filter --instance-id xxx" to generate a starting point from the instance's current filter
--filter string Filter configuration as JSON, of the form {"attributes": [{"key": ..., "level": ..., "matcher": ..., "values": [...]}, ...], "disabled": ...}. Can be a JSON string or a file path, if prefixed with "@" (example: @./filter.json). Only the provided fields are updated: if "attributes" is set, it replaces any existing filter attributes on the instance; if "disabled" is set, it enables or disables the filter without changing its attributes (example: {"disabled": true}). Run "stackit beta telemetry-router instance generate-filter --instance-id <id>" to generate a starting point from the instance's current filter. Clearing all filter attributes is not supported; an empty "attributes" list leaves the existing attributes unchanged.
32
-
-h, --help[=true|false] Help for "stackit beta telemetry-router instance update"
32
+
--description string Description
33
+
--display-name string Display name
34
+
--filter string Filter configuration as JSON, of the form {"attributes": [{"key": ..., "level": ..., "matcher": ..., "values": [...]}, ...], "disabled": ...}. Can be a JSON string or a file path, if prefixed with "@" (example: @./filter.json). Only the provided fields are updated: if "attributes" is set, it replaces any existing filter attributes on the instance; if "disabled" is set, it enables or disables the filter without changing its attributes (example: {"disabled": true}). Run "stackit beta telemetry-router instance generate-filter --instance-id <id>" to generate a starting point from the instance's current filter. Clearing all filter attributes is not supported; an empty "attributes" list leaves the existing attributes unchanged.
35
+
-h, --help[=true|false] Help for "stackit beta telemetry-router instance update"
36
+
--labels stringToString Labels in key=value format, separated by commas. Replaces all existing labels. Example: --labels "key1=value1,key2=value2". (default [])
`Create a Telemetry Router instance with name "my-instance" that only routes telemetry data for HTTP GET or HEAD requests, matched at the resource level, using a filter configuration sourced from a JSON file; `+
57
62
`use "stackit beta telemetry-router instance generate-filter" to generate a starting point for "./filter.json"; `+
`Replace the filter attributes of the Telemetry Router instance with ID "xxx" with a filter configuration sourced from a JSON file so it only routes telemetry data for HTTP GET or HEAD requests, matched at the resource level; `+
57
62
`use "stackit beta telemetry-router instance generate-filter --instance-id xxx" to generate a starting point from the instance's current filter`,
`the filter without changing its attributes (example: {"disabled": true}). Run "stackit beta telemetry-router instance generate-filter --instance-id <id>" `+
132
137
`to generate a starting point from the instance's current filter. Clearing all filter attributes is not supported; `+
133
138
`an empty "attributes" list leaves the existing attributes unchanged.`)
139
+
cmd.Flags().StringToString(labelsFlag, nil, `Labels in key=value format, separated by commas. Replaces all existing labels. Example: --labels "key1=value1,key2=value2".`)
0 commit comments