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

Rename :orgId to :instanceId in metrics graph url #3534

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

rndstr
Copy link
Contributor

@rndstr rndstr commented Dec 14, 2018

  • Renames placeholders :orgId to :instanceId in
    --app.metrics-graph
  • Adjusts frontend client to use the provided instanceId by its host
    application (Weave Cloud)

@rndstr rndstr requested a review from guyfedwards December 14, 2018 18:26
Copy link
Contributor

@guyfedwards guyfedwards left a comment

Choose a reason for hiding this comment

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

👍

@bboreham
Copy link
Collaborator

What happens if an old client meets a new server?

- Renames placeholders `:orgId` to `:instanceId` in
  `--app.metrics-graph`
- Adjusts frontend client to use the provided instanceId by its host
  application (Weave Cloud)
@rndstr rndstr force-pushed the rename-org-instance branch from 1e0c3fe to f8412c3 Compare December 18, 2018 01:57
@rndstr
Copy link
Contributor Author

rndstr commented Dec 18, 2018

What happens if an old client meets a new server?

what exactly is client/server in this case? the probe has no play here, the app is given the format as config, and the host (weave cloud for us) of the frontend is passing in instanceId=<value>.

@bboreham
Copy link
Collaborator

OK, so all the bits that know the name will get reloaded at the same time into the browser, so they will all change at once?

@rade
Copy link
Member

rade commented Dec 18, 2018

IIRC we traditionally haven't worried about compatibility between f/e and b/e. If something looks broken, a reload should fix it.

@bboreham bboreham merged commit fb6ab75 into master Dec 18, 2018
@bboreham bboreham deleted the rename-org-instance branch December 18, 2018 16:39
@rndstr
Copy link
Contributor Author

rndstr commented Dec 18, 2018

@bboreham the thing to note here is that it's currently broken in any case. so there is no need to manage a seamingless migration path.

@bboreham bboreham mentioned this pull request Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants