Skip to content

Commit 57817ea

Browse files
authored
Update otelcol test package (#2971)
Update otelcol test package following current recommendations: - Dataset in OTel packages should default to the related community receivers. - "subobjects: false" at the root level conflicts with built-in templates . - No fields are needed.
1 parent a418c6c commit 57817ea

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

test/packages/parallel/httpcheck/_dev/test/policy/test-eprcheck.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ processors:
2525
- context: datapoint
2626
statements:
2727
- set(attributes["data_stream.type"], "metrics")
28-
- set(attributes["data_stream.dataset"], "httpcheck.check")
28+
- set(attributes["data_stream.dataset"], "httpcheck.httpcheckreceiver")
2929
- set(attributes["data_stream.namespace"], "ep")
3030
receivers:
3131
httpcheck/componentid-0:

test/packages/parallel/httpcheck/fields/base-fields.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

test/packages/parallel/httpcheck/manifest.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ icons:
2626
size: 32x32
2727
type: image/svg+xml
2828
policy_templates:
29-
- name: check
29+
- name: httpcheckreceiver
3030
type: metrics
3131
title: HTTP Check
3232
description: Perform HTTP checks and collect its results.
@@ -67,10 +67,6 @@ policy_templates:
6767
multi: true
6868
required: false
6969
show_user: false
70-
elasticsearch:
71-
index_template:
72-
mappings:
73-
subobjects: false
7470
owner:
7571
github: elastic/ecosystem
7672
type: elastic

0 commit comments

Comments
 (0)