-
Notifications
You must be signed in to change notification settings - Fork 8
Description
What's needed?
Currently we need to request at least one metric and receiving states is an include option. This is in line with the current specifications as documented here
| // At least one metric must be specified. Failure to do so will result in an empty response. |
This means that users cannot request states only without any metric or only request states with a dummy metric that will be discarded. It would be good to have the option to request states without requiring to also request metrics.
Proposed solution
At the moment the service accepts requests without metrics and include option for states but doesn't respond with any data (as expected). The simplest option could be to send a response including only the states in this case.
There are other options that require changing the interface, which could improve clarity. FYI @thomas-nicolai-frequenz
Use cases
Users that want to request only states, e.g. for monitoring purpose.
Alternatives and workarounds
No response
Additional context
No response