Andy
Oct 10, 2023Nimbostratus
Telemetry Streaming Question
Hi, I'm after a little assistance, I have installed the Telemetry Streaming extension to use Opentelemetry as an endpoint. I've been able to achieve this and my receiver is receiving the metrics. The declaration I am POST-ing is as follows
{
"class": "Telemetry",
"My_System": {
"class": "Telemetry_System",
"systemPoller": {
"interval": 60
}
},
"My_Listener": {
"class": "Telemetry_Listener",
"port": 6514
},
"My_Consumer": {
"class": "Telemetry_Consumer",
"type": "OpenTelemetry_Exporter",
"host": "10.1.2.3",
"port": 4317,
"metricsPath": "/v1/metrics",
"convertBooleansToMetrics": true,
"enable": true,
"trace": false,
"allowSelfSignedCert": true,
"exporter": "protobuf",
"protocol": "https"
}
}
This is succesful as I say, but the received metrics don't include a hostname (which is important as there are some profile duplications on the 40+ devices looked afer), is there a way to insert the hostname into the messages exported from the systems?
Thanks in advance.