#support

Issue with Sending K6 Metrics to InfluxDB in Signoz

TLDR Rishabh described an error while sending K6 metrics to InfluxDB in Signoz. Srikanth questioned the https usage.

Powered by Struct AI
Sep 19, 2023 (2 months ago)
Rishabh
Photo of md5-faf0fdba0b6739a6706f05c15b6738c6
Rishabh
06:28 AM
Hi folks, I am trying to send k6 metrics to the InfluxDb receiver in Signoz. I have added
  influxdb:
    endpoint: 0.0.0.0:8086

to the receivers: and "influxdb" to the service>pipelines>metrics>receivers in otel-collector-metrics-config.yaml
Now when I am running
K6_INFLUXDB_ADDR="" K6_INFLUXDB_BUCKET="signoz" ./k6 run script.js -o xk6-influxdb

then I am getting this error
ERRO[0001] Couldn't send metrics points                  elapsed="327.621µs" error="Post \"\": dial tcp 0.0.0.0:8086: connect: connection refused" output=InfluxDBv2 points=9
ERRO[0002] Couldn't send metrics points                  elapsed="178.471µs" error="Post \"\": dial tcp 0.0.0.0:8086: connect: connection refused" output=InfluxDBv2 points=6

Anybody here who has faced something similar?
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
08:49 AM
Why is it https?