Граф коммитов

202 Коммитов

Автор SHA1 Сообщение Дата
Jeff Klukas b3318acdfe Bug 1498309 Refactor CircleCI config and use cache for assembly
See related changes in t-b-v:
https://github.com/mozilla/telemetry-batch-view/pull/487
2018-10-12 15:08:11 -04:00
Sunah Suh de580c6154
Default to a per-job streaming checkpoint location (#184)
In the aftermath of the Oct 4 streaming outage we discovered the default
checkpoint location for StreamingJobBase was the same location for each concrete
descendent. This change adds a required JobName val and uses that as
part of the checkpoint directory.
2018-10-09 14:43:06 -05:00
Jeff Klukas 48fcf5d9f6
Bug 1465974 Add metrics reporting to HttpSink (#182) 2018-09-24 09:34:07 -04:00
Sunah Suh e1aa41c104
Add beta and aurora to devtools e2a config (#181) 2018-09-06 15:58:22 -05:00
Jeff Klukas e05ea9d22e Refactor AmplitudeHttpSink and add 413 handling
As suggested by @fbertsch in
https://github.com/mozilla/telemetry-streaming/pull/176#discussion_r212410688
this PR simplifies EventsToAmplitude by unifying the classes for
Amplitude's two different endpoints.

Along the way, we also add a method to the HttpSink base class that allows
our Amplitude sink to specify how to split a single call into multiple
requests in the case that we get a PayloadTooLarge response.

Finally, we reduce the number of times that we duplicate explicit defaults for
boring parameters like timeouts by refactoring them to an HttpSink.Config
case class.
2018-08-30 08:35:30 -04:00
Arkadiusz Komarzewski 25a9c7eb18 Bug 1485583 - Add accumulator-based metrics source 2018-08-30 11:40:10 +02:00
Arkadiusz Komarzewski faf3bff58f Bump sbt to 1.2.1 2018-08-30 11:40:10 +02:00
Jeff Klukas 7cb967cce2 Bug 1484819 Support Amplitude /batch endpoint; partition data 2018-08-23 14:58:13 -04:00
Sunah Suh dca6ac47f6
Bug 1471368: Update meta-schema file and config files (#178)
* Throw on schema validation errors in EventsToAmplitude

* Add devtools config to schema validation test

* Update focus event config to conform to newest schema schema

* Update meta-schema to conform with what's in the code

* Update meta-schema per review suggestions

* Fix focus events schema EventGroup labels
2018-08-23 13:48:23 -05:00
Sunah Suh 40174f7cb5 Limit channel to nightly for now for devtools 2018-08-22 11:53:39 -05:00
Sunah Suh 7e8357ff8f Clean up schemas directory 2018-08-22 11:53:39 -05:00
Sunah Suh 66fc4e990e Update devtools config file with new field 2018-08-22 11:53:39 -05:00
Jeff Klukas 7c8637b620 Refactor BatchHttpSink to extend HttpSink 2018-08-22 10:32:56 -04:00
Jeff Klukas 05aabfa206 Bug 1484971 Refactor Amplitude-specific logic out of HttpSink 2018-08-22 10:32:56 -04:00
Jeff Klukas ddb7af9e1d Consistent naming for com.mozilla.telemetry.sinks.HttpSink 2018-08-22 10:32:56 -04:00
Jeff Klukas 0092f8ad1e Bug 1482924 Add event name to insert_id
The "Meta - session split v2" events we backfilled were
rejected for recent days due to having identical insert_id
to the v1 events.

We change the logic so that future event name changes will
not get deduplicated, and we bump the session split event name again.

This time, I'll backfill and verify _before_ merging the PR in case
we encounter another hiccup.
2018-08-17 09:31:54 -04:00
Jeff Klukas 64a9ed6faa Bug 1482924 Change session split event name for backfill
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1482924
we want to backfill just session split events in order to pick up the
new active-ticks logic. We can only accomplish that in Amplitude
by sending events with a different name.

Once this is merged, I'll proceed with backfilling.
2018-08-15 10:47:54 -04:00
Sunah Suh 6ee761686c Add experiment enrollments to datadog job 2018-08-13 15:46:43 -05:00
Jeff Klukas ee2eafd18a Bug 1482924 Use active_ticks scalar rather than simpleMeasurement
The simpleMeasurement version of activeTicks is sometimes inflated.

We will need to backfill the Savant project in Amplitude using this
updated logic.
2018-08-13 14:50:06 -04:00
Ben Wu ebdc2da8e7 Add buildId to crash ping tags 2018-08-13 16:53:17 +02:00
Ben Wu 40c600d098 Extract crash signature in crash ping streaming 2018-08-10 14:46:10 -04:00
Sunah Suh 9c4a0bf9ca Use CircleCI README status badge instead of Travis 2018-08-08 09:06:56 -04:00
Jeff Klukas d299a8fa6d Move from TravisCI to CircleCI 2.0 2018-08-07 11:03:04 -04:00
Jeff Klukas 04e5238b56 Bug 1474987 Add "session split" meta-event 2018-08-03 15:09:41 -04:00
Ben Wu b106fae866 Move crash ping streaming logic to base class 2018-07-31 14:23:50 -04:00
Jeff Klukas a3db3768e7 Remove user properties already captured as top-level fields 2018-07-31 13:18:03 -04:00
Jeff Klukas e688dab508 Send additional client properties 2018-07-31 13:18:03 -04:00
Arkadiusz Komarzewski 6a99a00f44 Bug 1462107 - Add frecency aggregator 2018-07-31 11:56:09 +02:00
Arkadiusz Komarzewski 17b5517eaf Refactor error aggregators to use base streaming job
This refactoring was first attempted in 156089a which introduced serialization errors.
This is a second attempt, free from this bug.
2018-07-31 11:25:20 +02:00
Jeff Klukas acef5e89ce value -> object for pwmgr entries 2018-07-30 10:51:43 -04:00
Jeff Klukas 266d231640 Bug 1474987 Add pipeline for Savant events to Amplitude 2018-07-30 10:51:43 -04:00
Anthony Miyaguchi e7f81f806c Modify the channel option to be batch specific 2018-07-27 13:53:32 -07:00
Anthony Miyaguchi 1a8db29459 Bug 1476789 - Add channel option to ErrorAggregator 2018-07-27 13:53:32 -07:00
Arkadiusz Komarzewski 1ed3937996 Bug 1471659 - Read event pings in experiment enrollments job 2018-07-24 20:42:33 +02:00
Ben Wu 2354479a12 Send crash pings to InfluxDB via HTTP 2018-07-11 15:17:33 -04:00
Arkadiusz Komarzewski 8e7097fe31 Use consistent naming across test classes 2018-07-10 17:01:53 +02:00
Sunah Suh c6f6176c3d Add sessionIdOffset property to amplitude schema file 2018-07-09 12:37:17 -04:00
Sunah Suh a9bfced2d8 Add event ping to EventsToAmplitude and devtools config 2018-07-09 12:37:17 -04:00
Arkadiusz Komarzewski 914deeeb4f Fail build on compiler warnings 2018-07-09 15:35:14 +02:00
Arkadiusz Komarzewski e4246c4685 Fix compiler warnings 2018-07-09 15:35:14 +02:00
Arkadiusz Komarzewski 966b4f58cd Bug 1471659 - Read event pings in experiment enrollments job 2018-07-09 09:35:07 +02:00
Arkadiusz Komarzewski 4a0b6dbfa6 Bug 1470095 - Add job for streaming enrollment updates to TestTube 2018-07-09 09:35:07 +02:00
Arkadiusz Komarzewski ba26c0d30b Correct timestamp conversion comment 2018-07-04 09:25:36 -03:00
Sunah Suh 0f0094a0c2 Add events from event ping to events dataset 2018-07-02 16:40:13 -05:00
Sunah Suh 4cffdfb298 Add Event Ping case class 2018-07-02 16:40:13 -05:00
Daniel Thorn 60db435b9a Silence logs that are too verbose 2018-06-26 11:53:37 -07:00
Jeff Klukas c0a643c0b0 Avoid exit code mangling by ensuring docker plugin doesn't trigger compile
See explanation of the underlying issue in
https://github.com/Tapad/sbt-docker-compose/issues/23
2018-06-20 08:59:50 -04:00
Jeff Klukas 249c9e3e19 Fix tests that are failing on master
Also address a style warning
2018-06-20 08:59:50 -04:00
Jeff Klukas a9180a00b7 Pin an explicit version of the deploy.sh script to fetch
Telemetry-batch-view is significantly alterning the deploy.sh
script as that repo moves to CircleCI-based builds in
https://github.com/mozilla/telemetry-batch-view/pull/440

We will move this project to a similar style in a future change,
but for now we're pinning the deploy.sh url to the last tag
of t-b-v with Travis-based deploys.
2018-06-19 15:50:21 -04:00
Arkadiusz Komarzewski 7b3361a9b0 Handle docType parse errors in experiments enrollment aggregator 2018-06-15 14:36:19 -07:00