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

Native short links in bosun #2210

Merged
merged 2 commits into from
Feb 18, 2018
Merged

Native short links in bosun #2210

merged 2 commits into from
Feb 18, 2018

Conversation

captncraig
Copy link
Contributor

No description provided.

@captncraig
Copy link
Contributor Author

Google link shortener not supported any longer. We could remove the config key if we wanted to make that a breaking change.

Links now generate as {bosun-host}/s/123

Host: sc.Hostname,
Path: path,
RawQuery: v.Encode(),
Scheme: "http",
Copy link
Member

Choose a reason for hiding this comment

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

hardcoded http probably not good. I think someone has a PR regarding this.

@kylebrandt
Copy link
Member

@captncraig Can you expand on not supported anymore? In other words, what happens to people that using Google shortner and start using this branch?

@captncraig
Copy link
Contributor Author

Not supported anymore as in, we don't bother making a google shortlink. Just make our own. The code to call google is removed entirely.

@kylebrandt kylebrandt merged commit 8a0dc1e into master Feb 18, 2018
@kylebrandt kylebrandt deleted the short branch February 18, 2018 16:45
pradeepbbl pushed a commit to bookingcom/bosun that referenced this pull request Feb 19, 2018
google is no longer used to generate short links instead, bosun generates its own links and stores them in redis/ledis.
dschneller added a commit to Rheinwerk/bosun that referenced this pull request Feb 26, 2018
* master:
  cmd/scollector: add systemd physical "predictable" linux net interface names (bosun-monitor#1985)
  cmd/bosun: add notification stats to /api/health (bosun-monitor#2222)
  cmd/bosun: native short links replace google (bosun-monitor#2210)
  docs: update system_configuration docs to reflect RedisDb configuration variable (bosun-monitor#2220)
  cmd/bosun/sched/views.go: added new incident filter `since` (bosun-monitor#2215)
  Bosun complaining about `actionBodyForceClose`, `actionBodyDelayedClose`, `actionBodyCancelClose` intermediately and causing crash with error `couldn't read rules: unknown key actionBodyDelayedClose` after looking at the code cmd/bosun/conf/rule/loaders.go#L442 we found strings.HasSuffix sometime getting matched with 'Close' rather then 'DelayedClose, ForceClose or CancelClose' and later it breaks the switch statement cmd/bosun/conf/rule/loaders.go#L462 due to invalid template type (bosun-monitor#2198)
  Update WMI to support int[] (bosun-monitor#2213)
  Add Scheme option to bosun toml (bosun-monitor#2209)
  Changed load sequence for `macros` to use in the notifications (bosun-monitor#2199)
  Fixed wrong nested ul in unknown notify (bosun-monitor#2208)
  travis: remove slack notification / go 1.9 (bosun-monitor#2203)
  Fix post notification logging (bosun-monitor#2196)
clinta pushed a commit to clinta/bosun that referenced this pull request Mar 9, 2018
google is no longer used to generate short links instead, bosun generates its own links and stores them in redis/ledis.
pradeepbbl pushed a commit to pradeepbbl/bosun that referenced this pull request Mar 21, 2018
google is no longer used to generate short links instead, bosun generates its own links and stores them in redis/ledis.
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.

2 participants