数据筛选
Last updated
enable: true
version: v2
inputs:
- Type: metric_mock
GroupMeta:
meta1: meta1
GroupTags:
tag1: tag1
- Type: metric_mock
GroupMeta:
meta2: meta2
GroupTags:
tag2: tag2
flushers:
- Type: flusher_http
RemoteURL: "http://localhost:8086/write"
Convert:
Protocol: custom_single
Encoding: json
FlushInterceptor:
Type: ext_groupinfo_filter
extensions:
- Type: ext_groupinfo_filter
Tags:
tag1:
Pattern: tag1enable: true
version: v2
inputs:
- Type: metric_mock
GroupMeta:
meta1: meta1
GroupTags:
tag1: tag1
- Type: metric_mock
GroupMeta:
meta2: meta2
GroupTags:
tag2: tag2
flushers:
- Type: flusher_http
RemoteURL: "http://localhost:8086/write_select_tag1"
Convert:
Protocol: custom_single
Encoding: json
FlushInterceptor:
Type: ext_groupinfo_filter/tag1
- Type: flusher_http
RemoteURL: "http://localhost:8086/write_select_tag2"
Convert:
Protocol: custom_single
Encoding: json
FlushInterceptor:
Type: ext_groupinfo_filter/tag2
extensions:
- Type: ext_groupinfo_filter/tag1
Tags:
tag1:
Pattern: tag1
- Type: ext_groupinfo_filter/tag2
Tags:
tag2:
Pattern: tag2