Last modified: 2013-07-31 22:35:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54359, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52359 - graphite isn't getting deploy events
graphite isn't getting deploy events
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-31 22:04 UTC by Greg Grossmeier
Modified: 2013-07-31 22:35 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Greg Grossmeier 2013-07-31 22:04:48 UTC
Maybe an issue in the deploy scripts? Not sure where/if it was set up before.
From the RT ticket I opened:

I saw this: http://codeascraft.com/2010/12/08/track-every-release/ and was like "I want that!"

Looked in our graphite and found it, kinda:
https://graphite.wikimedia.org/render?from=-10days&until=now&width=500&height=380&target=deploy.any

In short: we have a Code Deploys metric type (broken down by scap, sync-wikiversion, etc) but it doesn't have any data :(
Comment 1 Sam Reed (reedy) 2013-07-31 22:26:54 UTC
sync-common-file (among others) have lines like:

$BINDIR/deploy2graphite sync-common-file


Running it doesn't seem to error obviously at least.


reedy@tin:/a/common$ deploy2graphite
Usage: /usr/local/bin/deploy2graphite deploytype
/usr/local/bin/deploy2graphite will log an entry at graphite.wikimedia.org indicating that a
 deploy event of the type indicated has occurred.
 Expected deploy events include sync-common, sync-file, scap, etc.
 These messages can be suppressed by setting an environment variable .

  IF YOU'RE RUNNING THIS BY HAND, PLEASE STOP.  Go ask Asher why.  :)

reedy@tin:/a/common$ deploy2graphite test
reedy@tin:/a/common$



I see deploys on http://gdash.wikimedia.org/dashboards/reqerror/deploys
Comment 2 Greg Grossmeier 2013-07-31 22:31:57 UTC
Well, odd. I guess I won't use graphite proper.... :)
Comment 3 Asher Feldman 2013-07-31 22:33:57 UTC
(In reply to comment #2)
> Well, odd. I guess I won't use graphite proper.... :)

If you want to use it in graphite proper, you have to apply "display non-zero as infinite" to those metrics.  Just like what etsy does, and what I coded into gdash.
Comment 4 Greg Grossmeier 2013-07-31 22:35:23 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Well, odd. I guess I won't use graphite proper.... :)
> 
> If you want to use it in graphite proper, you have to apply "display non-zero
> as infinite" to those metrics.  Just like what etsy does, and what I coded
> into
> gdash.

Ah, thanks, I saw that, but assumed it was enabled on graphite's side somehow for those reports (obviously didn't look too closely)... ok, quiet bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links