EmbeddedEnterprises / autobahnkreuz

Advanced WAMP router based on nexus
Other
7 stars 3 forks source link

Expose metrics #8

Open martin31821 opened 6 years ago

martin31821 commented 6 years ago

Expose some information about the router itself, e.g.

Expose this either as prometheus compatible endpoint and/or directly as wamp topics/procedures.

@jwuensche

johannwagner commented 6 years ago

We talked about this issue.

We want to abstract the metrics to a prometheus format, which also should be published as a wamp message in the ee.* namespace.

The endpoint should be disableable. The endpoint should be exposed at /metrics.

fia0 commented 6 years ago

I've implemented the proposed metrics in a separate fork of mine, https://github.com/jwuensche/autobahnkreuz, which also requires a fork of nexus.

Though I've decided to expose the metrics as an API and use an exporter to make them scrapable for prometheus, to allow other applications to make use of the data. It is currently not published as a wamp message.