Skip to content

Commit

Permalink
[docs] update custom tag description
Browse files Browse the repository at this point in the history
  • Loading branch information
SongZhen0704 committed Oct 15, 2024
1 parent f21aa33 commit 9884adc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/zh/05-features/05-auto-tagging/04-custom-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@ DeepFlow 同时也支持自定义自动分组标签的能力,按需配置其

```yaml
querier:
auto-custom-tag:
auto-custom-tags:
# The Name of Custom Tag
# Note: Cannot use colon, space, or backquote.
tag-name: auto_my_tag
# The Value of Custom Tag
# Note: Range of source tags for retrieving the field value. Each row of data will
# automatically use the first non-zero tag encountered from top to bottom as the
# value for the custom tag. Here you can enter any tags seen in the results of
# the `show tags from <table>` API.
tag-values:
- tag-name: auto_my_tag
# The Value of Custom Tag
# Note: Range of source tags for retrieving the field value. Each row of data will
# automatically use the first non-zero tag encountered from top to bottom as the
# value for the custom tag. Here you can enter any tags seen in the results of
# the `show tags from <table>` API.
tag-fields:
- k8s.label.app
- auto_service
```
上述定义的 `$tag-name` 标签使用上与 `auto_instance`、`auto_service` 基本一致,额外的限制如下:

- 此处定义的 `$tag-name` 不能与 `*` 同时用于分组
- 此处定义的 `$tag-name` 不能与定义中 `$tag-values` 所包含的 Tag 同时用于分组
- 此处定义的 `$tag-name` 不能与定义中 `$tag-fields` 所包含的 Tag 同时用于分组

0 comments on commit 9884adc

Please sign in to comment.