-
Notifications
You must be signed in to change notification settings - Fork 33
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
Deprecate InfluxDB #133
base: main
Are you sure you want to change the base?
Deprecate InfluxDB #133
Conversation
I'm definitely in favour of this change as it simplifies the deployment requirements. Has the application deprecated InfluxDB support? If so, is there an intended date or release version when support will be dropped from the application? As for the changes in the chart, I think there are 3 different kinds of customer to think about:
An alternative approach that might require less proactive customer communication would be to:
|
Hi @plumdog and thanks for the very valuable feedback! The PR essentially solves #126 – Flagsmith is still, and will be, able to leverage InfluxDB backend for analytics, but we opt for dropping the InfluxDB deployment from our charts, providing a minimal working configuration based on the existing PostgreSQL database. I suspected the drop was too abrupt. I suppose I can only leave 142e232 and add the following modifications:
Does this look good to you? |
3b54e53
to
b167961
Compare
ef37319
to
edf9c8f
Compare
.github/workflows/lint-test.yaml
Outdated
- name: Package the pre-release chart | ||
run: helm package ./charts/flagsmith --version ${{ steps.get-version.outputs.version }} --destination out | ||
|
||
- name: Save the pre-release chart archive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reasoning here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to automate branch-based chart packaging so I can fiddle with Terraform with less hoops to jump through. Doesn't work as intended, I removed this.
##### Chart-provisioned InfluxDB is deprecated. ##### | ||
###################################################### | ||
|
||
If you were provisioning an InfluxDB instance for Flagsmith's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know that we need to worry about this but, just so I have the full picture... is there a way that users will be able to configure the charts such that their chart-provisioned influxdb will continue to be used? Also, I guess this throws the question about migration. We haven't written anything to migrate from InfluxDB to the Postgres backed analytics solution. The experience will actually be that they appear to lose all of the data they had in Influx once the API starts returning data from the postgres DB rather than Influx. So, you're right that the data isn't 'lost' but it will appear to be from the users' perspectives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a way that users will be able to configure the charts such that their chart-provisioned influxdb will continue to be used?
I imagine two paths for this:
- Deploying an external InfluxDB instance and migrating the data.
- Configuring the ealier chart-provisioned instance as an external one (perhaps we should test and document this).
We haven't written anything to migrate from InfluxDB to the Postgres backed analytics solution.
True. No idea how hard would that be. I'm not sure there'd be high demand for this too, given that InfluxDB is still usable.
bb29e28
to
38dea2e
Compare
38dea2e
to
653b524
Compare
Thanks for submitting a PR! Please check the boxes below:
/charts/flagsmith/Chart.yaml
in the sectionversion
or I'm merging to arelease branch
Changes
This PR deprecates InfluxDB usage:
How did you test this code?