====Prometheus====
The Prometheus output module turns your system into a web server that hosts values in a format that can be read by Prometheus.
The URL to read is **http://**//servername///**prometheus**. \\
This is a //service// module - meaning that rather than //writing// data to another system, it opens a server to make that data available to systems that might want to read the information.
^Parameter^Default^Meaning^
|**port**||The port number to host the web server on.|
===Notes===
It is important to note that if you have //multiple// output modules that require a web server, they will share a **single** server with the port number specified by the last module in your configuration file.
For example, if you wanted both [[Prometheus]] output on port 90 and [[REST]] output on port 9002 (in that order), your Prometheus endpoint would be available on port 9002 rather than 90.
===Availability===
This module is only available for [[key-value|key-value]] data.
===Example===
[
{
"method": "prometheus",
"port": 82
}
]
//The above example would make your data available via OPC-UA on port 703//
===Other Modules===
Return to the [[key-value methods|list of output modules]].