Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Add TagSet::DebugString().#179

Merged
g-easy merged 3 commits intocensus-instrumentation:masterfrom
g-easy:tagset
Sep 14, 2018
Merged

Add TagSet::DebugString().#179
g-easy merged 3 commits intocensus-instrumentation:masterfrom
g-easy:tagset

Conversation

@g-easy
Copy link
Copy Markdown
Contributor

@g-easy g-easy commented Sep 14, 2018

No description provided.

@g-easy
Copy link
Copy Markdown
Contributor Author

g-easy commented Sep 14, 2018

$ bazel run opencensus/stats:tag_set_test
[...]
{"key1": "value1", "key2": "value2"}

return tags_ == other.tags_;
}

std::string TagSet::DebugString() const {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Add a comment that the format is not guaranteed so people cannot depend on this to retrieve tags.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That comment is already in the header. Should I repeat it here?

@g-easy g-easy merged commit d0718f0 into census-instrumentation:master Sep 14, 2018
@g-easy g-easy deleted the tagset branch September 14, 2018 22:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants