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

InfluxDB: Remove browser ('direct' access) mode. #53529

Merged
merged 3 commits into from
Aug 17, 2022

Conversation

obetomuniz
Copy link
Member

@obetomuniz obetomuniz commented Aug 10, 2022

What this PR does / why we need it:

The changes in this PR are related to the continuous work around the migration to make Access Mode server-side only in InfluxDB.

Screen Shot 2022-08-10 at 09 41 17

Screen Shot 2022-08-10 at 09 41 17

Screen.Recording.2022-08-10.at.09.47.12.mov

Which issue(s) this PR fixes:

Fixes #47570

Special notes for your reviewer:

Additional insights about other pieces of code that can be deleted or docs that can be updated with this change are welcomed. Also, most of the changes here were inspired by the design of the solution applied in the Elasticsearch Browser ('direct' access) remove task and related work effort. Feel free to any improvement suggestions.

Release notice breaking change

In InfluxDB, browser access mode was deprecated in Grafana 8.0.0 and removed in 9.2.0. If you used this mode, please switch to server access mode on the datasource configuration page.

@obetomuniz obetomuniz added this to the 9.2.0 milestone Aug 10, 2022
@obetomuniz obetomuniz requested a review from a team as a code owner August 10, 2022 13:21
@obetomuniz obetomuniz self-assigned this Aug 10, 2022
@obetomuniz obetomuniz requested a review from a team as a code owner August 10, 2022 13:21
@obetomuniz obetomuniz requested review from jdbaldry and KMiller-Grafana and removed request for a team August 10, 2022 13:21
@grafanabot
Copy link
Contributor

@obetomuniz obetomuniz requested review from a team and GrafanaWriter and removed request for a team August 15, 2022 12:37
Copy link
Contributor

@gtk-grafana gtk-grafana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor copy tweaks, but otherwise this looks really good! Everything works for me locally, and users see a warning message in the datasource configuration when direct browser access is previously configured, and users are unable to reselect browser mode after changing it. Thanks for taking a look at this Beto!

docs/sources/datasources/influxdb/_index.md Outdated Show resolved Hide resolved
public/app/plugins/datasource/influxdb/datasource.ts Outdated Show resolved Hide resolved
@grafanabot
Copy link
Contributor

* main: (153 commits)
  Navigation: Improve responsiveness of `TopSearchBar` (#53777)
  Chore: Remove GetSignedInUserWithCacheCtx from store interface (#53734)
  Alerting: Improve Mimir AM interoperability with Grafana (#53396)
  ReleaseNotes: Updated changelog and release notes for 9.1.0 (#53780)
  Alerting: Support for re-ordering alert rules in a group (#53318)
  Chore: Remove disable user, disable batch users and searchusers methods from store interface (#53717)
  codeowners: adjust logs ownership (#53771)
  Tempo: Fix typo in the tooltip for 'Limit' (#53750)
  Revert "Analytics: Use Fullstory to get behavioral data (#53732)" (#53762)
  Release Notes: Add missing report bug fixes (#53597)
  pkg/web: remove Router and Logger from Context (#53765)
  fix configuration secret_key relref link (#52742)
  Docs: Fix link in What's New in 9.1 (#53259)
  Docs: Add 9.1 to What's New index (#53545)
  Analytics: Use Fullstory to get behavioral data (#53732)
  Update dependency eslint to v8.22.0 (#52723)
  Fix initDashboard bug (#53722)
  openapi: Use indentations for human-readable JSON (#53707)
  Build: upgrade Alpine images (#53743)
  GeoMap: Fix tooltip not showing values (#53738)
  ...
@obetomuniz obetomuniz changed the title InfluxDB Datasource: Remove browser ('direct' access) mode. InfluxDB: Remove browser ('direct' access) mode. Aug 16, 2022
@grafanabot
Copy link
Contributor

@obetomuniz obetomuniz deleted the betomuniz/remove-influxdb-direct-access-mode branch August 17, 2022 12:40
@dsotirakis dsotirakis modified the milestones: 9.2.0, 9.2.0-beta1 Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InfluxDB: Remove Influx browser/direct access mode
4 participants