Skip to content

stats: docs for new --stat-tag cli arg - #361

Merged
htuch merged 2 commits into
envoyproxy:masterfrom
taiki45:cli-universal-tag
Dec 25, 2017
Merged

htuch merged 2 commits into
envoyproxy:masterfrom
taiki45:cli-universal-tag

Conversation

@taiki45

@taiki45 taiki45 commented Dec 22, 2017 •

Copy link
Copy Markdown
Member

taiki45 added a commit to taiki45/envoy that referenced this pull request Dec 22, 2017
*Description*:
Support [universal tag](envoyproxy#1975),
the tags which will be added to all metrics. The main use case is to
distinguish each Envoy instance by the the tag. This universal tag
accepts arbitrary pairs of tag name and tag value. The tags will be
specified with commandline argument `--stats-tag`. The argument can be
specified multiple times so that users can add multiple tags.

The original issue is envoyproxy#1975.

*Risk Level*:
Medium

*Testing*:
unit test, manual testing with statsd_exporter v0.5.0 and Prometheus v2.0.0.

*Docs Changes*:
envoyproxy/data-plane-api#361

*Release Notes*:
Added.

Fixes envoyproxy#1975

*API Changes*:
N/A

Signed-off-by: Taiki Ono <[email protected]>

@mattklein123 mattklein123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you! A few small grammar nits.

Comment thread docs/root/operations/cli.rst Outdated
.. option:: --stats-tag <string>

*(optional)* Defines :ref:`stats <arch_overview_statistics>` tags which will
be added all metrics as tags. To add multiple tags, specify this option

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"be added to all metrics..."

Comment thread docs/root/operations/cli.rst Outdated

*(optional)* Defines :ref:`stats <arch_overview_statistics>` tags which will
be added all metrics as tags. To add multiple tags, specify this option
multiple times. The tag string must have semicolon separeted format like

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"must have a semicolon...", s/separeted/separated

@taiki45

taiki45 commented Dec 23, 2017

Copy link
Copy Markdown
Member Author

Thanks, I fixed them in 962660b.

@htuch

htuch commented Dec 24, 2017

Copy link
Copy Markdown
Member

LGTM modulo design consideration in envoyproxy/envoy#2264.

@htuch
htuch merged commit 06ae011 into envoyproxy:master Dec 25, 2017
taiki45 added a commit to taiki45/data-plane-api that referenced this pull request Dec 27, 2017
@taiki45
taiki45 deleted the cli-universal-tag branch December 27, 2017 08:15
taiki45 added a commit to taiki45/data-plane-api that referenced this pull request Dec 27, 2017
Revert "stats: docs for new --stat-tag cli arg (envoyproxy#361)"

This reverts commit 06ae011.

Signed-off-by: Taiki Ono <[email protected]>
mattklein123 pushed a commit that referenced this pull request Dec 27, 2017
Revert "stats: docs for new --stat-tag cli arg (#361)"

This reverts commit 06ae011.

Signed-off-by: Taiki Ono <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants