Does anyone encountered an issue with metric submission throw otel to datadog?
In a very low load, about 5 users, I encountered datapoints drop.
This is my confuguration:
otel config
receivers:
filelog:
include_file_name: false
poll_interval: 50ms
include:
- /*/k6-logs.log
start_at: beginning
operators:
- type: regex_parser
parse_from: body
regex: 'time="(?P<time>[^"]+)" level=(?P<level>\w+) msg="(?P<msg>.+?)" source=(?P<source>\w+)( .+)?'
on_error: drop_quiet
- type: regex_parser
parse_from: attributes.msg
regex: '\[(?P<user>[^\@]+)@(?P<tangles>[^\]]+)\]'
on_error: send_quiet
scope: attributes
- type: time_parser
parse_from: attributes.time
layout: '%Y-%m-%dT%H:%M:%SZ'
on_error: drop_quiet
otlp:
protocols:
http:
endpoint: localhost:4318
exporters:
datadog:
api:
key: "{{ DATADOG_API_KEY }}"
site: "datadoghq.com"
processors:
batch/datadog:
send_batch_max_size: 100
send_batch_size: 10
timeout: 10s
attributes:
actions:
- key: service
value: "k6"
action: insert
- key: ddtags
value: "build_id:${env:BUILD_BUILDID}"
action: insert
service:
pipelines:
metrics:
receivers: [otlp]
processors: [batch/datadog]
exporters: [datadog]
logs:
receivers: [otlp, filelog]
processors: [batch/datadog, attributes]
exporters: [datadog]