-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update agent-filtering-for-dogstatsd-custom-metrics.md with remote config + RBAC details #32104
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
Changes from 1 commit
0a92a8f
b7ffd3e
35d8ba9
94f9abb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -30,9 +30,23 @@ Agent-side filtering enables you to filter out unused or unwanted DogStatsD cust | |||||||||||
|
|
||||||||||||
| Filtering is performed at the Agent level but centrally managed through the Datadog UI, giving teams full visibility and control. You can create, update, and manage filtering policies in Datadog, streamlining metric governance while maintaining transparency. | ||||||||||||
|
|
||||||||||||
| Creating and updating filtering policies requires the [`metric_tags_write`][1] RBAC permission. All users can view filtering policies. | ||||||||||||
|
|
||||||||||||
| ## Prerequisites | ||||||||||||
|
|
||||||||||||
| - Upgrade to Datadog Agent v7.67.0 or higher (v7.70.0 or higher is recommended) | ||||||||||||
| - Ensure that your RBAC permissions include [`org_management`][2] and that [Remote Configuration][3] is enabled for your organization. | ||||||||||||
| - Ensure that your RBAC permissions include [`api_keys_write`][4] and that the [Remote Configuration capability is enabled on the API keys][5] used by your Agents. After enabling Remote Configuration on an API key, an Agent restart is required for Remote Configuration enablement to take effect. | ||||||||||||
|
||||||||||||
| - Ensure that your RBAC permissions include [`org_management`][2] and that [Remote Configuration][3] is enabled for your organization. | |
| - Ensure that your RBAC permissions include [`api_keys_write`][4] and that the [Remote Configuration capability is enabled on the API keys][5] used by your Agents. After enabling Remote Configuration on an API key, an Agent restart is required for Remote Configuration enablement to take effect. | |
| - Ensure that your RBAC permissions include [`org_management`][2] and [`api_keys_write`][4]. | |
| - Enable [Remote Configuration][3] for your organization. | |
| - Enable the Remote Configuration capability on the API keys][5] used by your Agents. After enabling Remote Configuration on an API key, an Agent restart is required for Remote Configuration enablement to take effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I mean to communicate with this structure is that, respectively:
- the
org_managementpermission is only needed to validate that Remote Configuration is enabled for the org (and if not, to enable it) - the
api_keys_writepermission is only needed to validate that the API keys have Remote Configuration enabled (and if not, enable it on them)
but that these permissions are not needed to use the feature, they're only needed during the initial setup.
I'm under the impression that your proposed changes would make this less clear. But I'm also open to suggestions on how to make this more explicit/clear. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, okay, got it. Thank you for clarifying! Maybe something like this??
- With [org_management][2] permissions, enable [Remote Configuration][3] for your organization.
- With [api_keys_write][4] permissions, enable the [Remote Configuration capability on the API keys][5] used by your Agents. After enabling Remote Configuration on an API key, restart your Agents for the change to take effect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion @domalessi, I applied it! Let me know how this looks now
Uh oh!
There was an error while loading. Please reload this page.