dd-agent icon indicating copy to clipboard operation
dd-agent copied to clipboard

Allow slicing tags sent by the cloud environments

Open maximebedard opened this issue 8 years ago • 2 comments

Hi friends 👋 I'm currently looking into refactoring opportunities to allow slicing the metadata for cloud environments. More specifically https://github.com/DataDog/dd-agent/blame/master/utils/cloud_metadata.py#L98-L105. The reason behind this change is that we currently deliver a high volume of metrics and the cardinality of the tags sent goes way over >1K which slows down a bunch of our metrics.

I've notice bits of the code being moved into the MetadataCollector and I was wondering if I could do anything to help normalize how the metadata is gathered by environment. Then I would love to expose a configuration to establish a mapping between the values gathered and the one sent by the agent.

@xvello, @hkaj I've noticed you've been playing with this quite a bit lately, if there's anything I could do to help I'd love to contribute without slowing you guys down!

maximebedard avatar Nov 03 '17 17:11 maximebedard

What do you mean by slicing it? What kind of configuration are you thinking about?

gmmeyer avatar Nov 21 '17 18:11 gmmeyer

I'm not 100% sure just yet, I'll take a few hours this week and try to come up with a proof of concept, I'll ping you guys back for feedback 🙌

maximebedard avatar Nov 21 '17 19:11 maximebedard