Skip to content

[mongo] removes confusing tags#186

Closed
gmmeyer wants to merge 3 commits into
masterfrom
greg/mongo_tagging
Closed

[mongo] removes confusing tags#186
gmmeyer wants to merge 3 commits into
masterfrom
greg/mongo_tagging

Conversation

@gmmeyer

@gmmeyer gmmeyer commented Feb 17, 2017

Copy link
Copy Markdown
Contributor

No description provided.

@remh remh changed the title removes confusing tags [mongo] removes confusing tags Feb 21, 2017
@remh
remh requested a review from yannmh February 21, 2017 16:04
@truthbk truthbk added this to the 5.12 milestone Feb 22, 2017
@truthbk

truthbk commented Feb 24, 2017

Copy link
Copy Markdown
Member

There is at least a lint error, and broken mongo tests.

@gmmeyer

gmmeyer commented Feb 24, 2017

Copy link
Copy Markdown
Contributor Author

@truthbk this needs some reworking anyway, I know what to do though I think

@gmmeyer gmmeyer removed this from the 5.12.0 milestone Mar 9, 2017

@yannmh yannmh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The replication set name and state are relevant to the MongoDB host, not necessarily all of its metrics.

Having those tags defined for all metrics is not ideal, but I believe it's not wrong either: the check is kind of artificially creating a host tag by appending those to all metric tags.

The changes remove the replication metadata tags from all metrics. It's not a great as:

  1. This information is valuable on some metrics
  2. This is a backward compatibility breaker

Ideally, we'd add some logic to only tag the relevant metrics instead of having all metrics sharing the same tag set.

I suggest to block those changes for now and wait for more interests.

@remh

remh commented Mar 20, 2017

Copy link
Copy Markdown
Contributor

It will break too many things without a clear benefit. Closing.

@remh remh closed this Mar 20, 2017
@gmmeyer
gmmeyer deleted the greg/mongo_tagging branch March 16, 2018 15:54
gml3ff pushed a commit that referenced this pull request May 14, 2020
* Extract datadog tags into a template var
* Support strings and hashes
* Update docs for tag attribute
* Add test coverage for tags (string, hash, empty hash value)

Closes #186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants