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
feat(datadog): add route-level constant_tags support
`constant_tags` are already supported at the plugin configuration level.
However, sometimes different values may be required for each route, but
this was previously not possible.
For example, if some routes are owned by team A and some routes by team
B, they could add `constant_tags: ["owner:team_a"]` or
`constant_tags: ["owner:team_b"]` to each route, and would then be able
to group metrics by team on Datadog.
| prefer_name | boolean | False | true |[true,false]| When set to `false`, uses Route/Service ID instead of name (default) with metric tags. |
47
+
| include_path | boolean | False | false |[true,false]| When set to `true`, includes the path pattern in metric tags. |
48
+
| include_method | boolean | False | false |[true,false]| When set to `true`, includes the HTTP method in metric tags. |
49
+
| constant_tags | array | False |[]|| Static tags to embed into all metrics generated by this route. Useful for grouping metrics over certain signals. |
49
50
50
51
This Plugin supports using batch processors to aggregate and process entries (logs/data) in a batch. This avoids the need for frequently submitting the data. The batch processor submits data every `5` seconds or when the data in the queue reaches `1000`. See [Batch Processor](../batch-processor.md#configuration) for more information or setting your custom configuration.
0 commit comments