Skip to main content

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? 

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