Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose metrics #8

Open
martin31821 opened this issue Sep 6, 2018 · 2 comments
Open

Expose metrics #8

martin31821 opened this issue Sep 6, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@martin31821
Copy link
Member

martin31821 commented Sep 6, 2018

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

  • number per incoming/outgoing messages
  • incoming/outgoing traffic (bytes/sec)
  • number of successful and rejected authentications per authmethod
  • number of successful/failed authorizations
  • number of connected clients per authrole (maybe authid?)

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

@jwuensche

@martin31821 martin31821 added this to the 1.0 milestone Sep 6, 2018
@martin31821 martin31821 added the enhancement New feature or request label Sep 6, 2018
@johannwagner
Copy link
Member

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.

@johannwagner johannwagner modified the milestones: 1.0, 0.10 Sep 20, 2018
@fia0
Copy link
Collaborator

fia0 commented Oct 4, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants