-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
remove the need to have query feature support #18942
Conversation
Some InfluxDB servers don't have /query support feature but are still valid servers for storing data. Usually those servers are proxies to others timeseries databases. The change proposes to still validate the configuration but with less requirements on the server side.
Tests are failing because |
Hello @ticapix, When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es). The commits that are missing a linked GitHub account are the following:
Unfortunately, we are unable to accept this pull request until this situation is corrected. Here are your options:
We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community. Thanks, I look forward to checking this PR again soon! ❤️ |
I do get why this is done, and done is a nice way 👍 |
Hi @frenck, Thanks for having a look at it. I did a bit of digging and it should be fine. By default, Python SDK Python SDK And the InfluxDB endpoint handler "/write" do a check on the DB existence before writing the data, so implicitly, it continues to check that the DB it writes to still exists, even if there is no data to write. Would that be ok ? |
locally tested with |
@ticapix Aah indeed, correct! Nice thanks! 👍 |
Description:
Some InfluxDB servers don't have /query support feature but are still valid servers for storing data.
Usually those servers are proxies to others timeseries databases.
Exemple of OVH Metrics https://docs.ovh.com/gb/en/metrics/protocol-overview/ where data can be pushed with InfluxDB and query with OpenTSdB/Graphite/Prometeus/...
The proposal still validates the configuration but with less feature requirements on the server side.
Example entry for
configuration.yaml
(if applicable):Regular Influxdb yaml configuration.
Checklist:
tox
. Your PR cannot be merged unless tests passIf the code does not interact with devices: