Setting up the metric feature using Prometheus for the OPC-UA extractor

  • 13 October 2023
  • 1 reply
  • 23 views

Userlevel 3
Badge +5

Is there an example available for setting up the metric feature using Prometheus for the OPC-UA extractor, similar to what is shown for the PI extractor in the Cognite Academy? 


1 reply

Userlevel 3
Badge +5

I found it on Cognite Extractor OPC-UA GitHub. I'll give it a try.

metrics:
# Start a metrics server in the extractor for Prometheus scrape
server:
host:
port: 0
# Multiple Prometheus PushGateway destinations:
push-gateways:
- host:
job:
username:
password:
# Configuration to treat OPC-UA nodes as metrics.
# Values will be mapped to opcua_nodes_NODE-DISPLAY-NAME in prometheus.

 

Reply