Add support to remove tags from metrics being sent to datadog

The terraform-spacelift-datadog module has common tags that are included on every metric

There is also support for adding extra_tags. What is not possible is to exclude the common_tags .

The idea here it to add a new input such as exclude_tags which would allow a user to reduce the amount of tags being added to the metrics.

Example usage:

exclude_tags = ["run_note", "run_url"]

Ideally, the tags on the metrics would then be extra_tags + common_tags - exclude_tags

Workaround
We just refrain from updating the module at this time
Problem
Somewhere between v0.2.0 and v0.2.3 of the terraform-spacelift-datadog integration introduced high cardinality metrics. The new tags on the metrics are `run_note`, `run_url`, and `triggered_by`. Run URL is going to be mostly unique so its going to create a very high cardinality metric which gets billed as custom metrics on the Datadog side. We want to avoid that.

Please authenticate to join the conversation.

Upvoters
Status

βœ… Completed

Board

πŸ’‘ Feature Requests

Tags

Integrations

Date

About 1 year ago

Subscribe to post

Get notified by email when there are changes.