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

Prometheus API labels changed, breaking dashboards #1878

Closed
CommanderRedYT opened this issue Mar 31, 2024 · 4 comments
Closed

Prometheus API labels changed, breaking dashboards #1878

CommanderRedYT opened this issue Mar 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@CommanderRedYT
Copy link
Contributor

What happened?

Instead of using "AC" in "type" labels, it is now "INV". It also feels like some other things have changed, as it does not work 100% correct when replacing "AC" with "INV".

To Reproduce Bug

Update to v24.3.22

Expected Behavior

Database API should be backwards compatible

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

v24.3.22

Relevant log/trace output

No response

Anything else?

No response

@CommanderRedYT CommanderRedYT added the bug Something isn't working label Mar 31, 2024
@tbnobody
Copy link
Owner

Unfortunatly not possible to keep all old api endpoints on a small device like the ESP. Please update your querys or use a previous version.

@tbnobody tbnobody closed this as not planned Won't fix, can't repro, duplicate, stale Mar 31, 2024
@CommanderRedYT
Copy link
Contributor Author

How would you recommend making it so both old and new versions work? I would need that for my app

@tbnobody
Copy link
Owner

dont know anything about prometheus... but what about querying for AC.type + INV.type
the first one is filled the other one for new data.

Copy link

github-actions bot commented May 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants