File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
test/packages/parallel/httpcheck/_dev/test/policy Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ connectors:
2+ forward: {}
3+ exporters:
4+ elasticsearch/componentid-0:
5+ endpoints:
6+ - https://elasticsearch:9200
17inputs: []
28output_permissions:
39 default:
@@ -13,6 +19,14 @@ output_permissions:
1319 privileges:
1420 - auto_configure
1521 - create_doc
22+ processors:
23+ transform/componentid-0:
24+ metric_statements:
25+ - context: datapoint
26+ statements:
27+ - set(attributes["data_stream.type"], "metrics")
28+ - set(attributes["data_stream.dataset"], "httpcheck.check")
29+ - set(attributes["data_stream.namespace"], "ep")
1630receivers:
1731 httpcheck/componentid-0:
1832 collection_interval: 1m
@@ -24,5 +38,14 @@ secret_references: []
2438service:
2539 pipelines:
2640 metrics:
41+ exporters:
42+ - elasticsearch/componentid-0
43+ receivers:
44+ - forward
45+ metrics/componentid-0:
46+ exporters:
47+ - forward
48+ processors:
49+ - transform/componentid-0
2750 receivers:
2851 - httpcheck/componentid-0
You can’t perform that action at this time.
0 commit comments