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

[FEATURE] Export simulator state as Prometheus metric #851

Open
1 task done
Ka0o0 opened this issue Nov 20, 2023 · 1 comment
Open
1 task done

[FEATURE] Export simulator state as Prometheus metric #851

Ka0o0 opened this issue Nov 20, 2023 · 1 comment
Labels
enhancement New feature or request simulator Simulator

Comments

@Ka0o0
Copy link

Ka0o0 commented Nov 20, 2023

Duplicate issue

  • I've searched for any related issues and avoided creating a duplicate issue.

Description

Hi,
it would be nice if the simulator would expose a metric endpoint that provides Prometheus scrapable metrics about the state of simulator. Some metrics I could think of are:

Overall

  • Number of configured charge stations

Per Charge Station

  • WebSocket Connection State
  • State of the charge station (started/starting/...)
  • Connector count

Per Connector

  • Most data from ConnectorStatus

Is anything like this planned?

Attachments

No response

@Ka0o0 Ka0o0 added enhancement New feature or request triage Needs triage labels Nov 20, 2023
@jerome-benoit
Copy link
Contributor

jerome-benoit commented Nov 20, 2023

The UI server already expose simulator state and charging stations details through the simulatorState and listChargingStations procedure. One can write a Prometheus exporter that will transform the output from these procedures to prometheus metrics syntax.

@jerome-benoit jerome-benoit removed the triage Needs triage label Jan 19, 2024
@jerome-benoit jerome-benoit added the simulator Simulator label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request simulator Simulator
Projects
None yet
Development

No branches or pull requests

2 participants