Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Revert "monitoring: configure alert notifications from site config"#11479

Merged
bobheadxi merged 1 commit into
masterfrom
revert-11427-distribution/alert-notifications
Jun 13, 2020
Merged

Revert "monitoring: configure alert notifications from site config"#11479
bobheadxi merged 1 commit into
masterfrom
revert-11427-distribution/alert-notifications

Conversation

@bobheadxi

@bobheadxi bobheadxi commented Jun 13, 2020

Copy link
Copy Markdown
Member

Reverts sourcegraph/sourcegraph#11427

There seems to be some problems:

  • sourcegraph/server is not properly handled (sourcegraph.sgdev.com makes a request to grafana-wrapper still and shows an error) - in general, I think opt-out cases needs a second pass
  • on dot-com, configuration is getting in from somewhere that is causing the wrapper to look in the wrong place for Grafana - this is set by GRAFANA_PORT, but as far as I can know is not set by anywhere (notice 30070 instead of 3371, as well the more obscure last error that I'm not sure I understand) - this is putting Grafana in a crash loop
"t=2020-06-13T04:34:54+0000 lvl=crit msg="failed to initialize configuration" cmd=grafana-wrapper error="grafana not reachable: Get \"http://admin:***@127.0.0.1:tcp/10.55.253.135:30070/api/health\": context deadline exceeded (last error: Get \"http://admin:***@127.0.0.1:tcp/10.55.253.135:30070/api/health\": dial tcp: lookup 127.0.0.1:tcp: no such host)"

It might be best to punt this to the next release - will revisit next week to see if I can get this fixed up by branch cut

@bobheadxi bobheadxi requested a review from emidoots as a code owner June 13, 2020 05:37
@bobheadxi bobheadxi requested review from a team and removed request for a team June 13, 2020 05:37
@codecov

codecov Bot commented Jun 13, 2020

Copy link
Copy Markdown

Codecov Report

Merging #11479 into master will increase coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11479      +/-   ##
==========================================
+ Coverage   46.71%   46.85%   +0.14%     
==========================================
  Files        1397     1392       -5     
  Lines       79064    78777     -287     
  Branches     6704     6814     +110     
==========================================
- Hits        36932    36911      -21     
+ Misses      38622    38360     -262     
+ Partials     3510     3506       -4     
Flag Coverage Δ
#go 51.17% <ø> (+0.21%) ⬆️
#storybook 6.91% <ø> (ø)
#typescript 35.53% <ø> (ø)
#unit 46.70% <ø> (+0.14%) ⬆️
Impacted Files Coverage Δ
cmd/frontend/internal/app/debug.go 0.00% <ø> (-0.99%) ⬇️
internal/conf/validate.go 41.07% <ø> (+3.97%) ⬆️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

observability: Alerting should be easily configured through a file or site configuration

1 participant