cw-infra-apps/grafana/charts/feature-application-observability/tests/spanmetrics_test.yaml

28 lines
685 B
YAML

# yamllint disable rule:document-start rule:line-length rule:trailing-spaces
suite: Test with spanmetrics processor
templates:
- configmap.yaml
tests:
- it: creates the pipeline with the spanmetrics connector
set:
deployAsConfigMap: true
processors:
interval:
enabled: true
connectors:
spanMetrics:
enabled: true
dimensions:
- name: "http.status_code"
- name: "http.method"
default: "GET"
receivers:
otlp:
grpc:
enabled: true
asserts:
- isKind:
of: ConfigMap
- matchSnapshot:
path: data["module.alloy"]