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

69 Коммитов

Автор SHA1 Сообщение Дата
Michael Droettboom 34714e67e2
Bug 1675580: Use rkv SafeMode in Python (#1551) 2021-03-26 11:05:14 -04:00
Jan-Erik Rediger 32da0a6a91 Kotlin: Don't inline the closure when measuring
This can change control flow, as the code is essentially copied 1:1 in
place, which means `return` inside will be an early return before our
measure wrapper gets to stop the timer.

Thanks to @mcomella for the detailed explanation in the bug report.
See: https://blog.mindorks.com/understanding-inline-noinline-and-crossinline-in-kotlin
2021-03-19 10:51:50 +01:00
Jan-Erik Rediger 243147c8d2 Add PRs to changelog 2021-03-16 16:39:17 +01:00
Michael Droettboom 730d69ff3b
[doc only] [Bug 1696188] Document adding new metric type to data platform (#1537) 2021-03-08 09:42:36 -05:00
Michael Droettboom e7ab81d9d0
Bug 1690780 - Coverage support (#1482)
* Bug 1690780: Coverage support

* Fix linkcheck

* Update CHANGELOG.md

Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>

* Add link to user documentation

* Mention codecov.io as the only supported tool

Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
2021-03-04 13:15:06 -05:00
Beatriz Rizental 77c225e7f6
Bug 1693489 - Update Glean SDK development and Glean book front page content (#1528)
[doc only]
2021-03-04 13:43:41 +01:00
Chris H-C f01c692341 doc updates per review. 2021-02-25 12:05:19 -05:00
Chris H-C 0780f7dcf0 bug 1645166 - Document Rate metric.
Also update the instructions about how to add a metric.
2021-02-25 12:05:19 -05:00
Michael Droettboom 3bc5799c5d
[doc only] Bug 1600006: Mention that the Kotlin testing API req robolectric (#1473)
* [doc only] Bug 1600006: Mention that the Kotlin testing API req robolectric

* Update spellcheck dictionary
2021-01-29 12:42:36 -05:00
Michael Droettboom f7d41cc094 Add CHANGELOG 2021-01-05 16:17:09 -05:00
Jan-Erik Rediger 2881200200 Document TSan bugfix 2020-12-10 12:13:36 +01:00
Jan-Erik Rediger bc7ebca0ee Run spellcheck once more 2020-12-07 13:36:18 +01:00
Jan-Erik Rediger 5edad6496c Document Rust API for timespan
[doc only]
2020-12-02 12:17:22 +01:00
Chris H-C f8bd87ebab
Update .dictionary 2020-12-01 09:28:45 -05:00
Jan-Erik Rediger 553b77d9bb
Merge pull request #1322 from mozilla/migrate-to-safe-mode 2020-11-17 10:45:12 +01:00
Jan-Erik Rediger abdb786bf0 Document safe-mode migration in changelog
[doc only]
2020-11-16 11:24:11 +01:00
Alessio Placitelli 16ecd971e4
Update .dictionary 2020-11-12 16:05:11 +01:00
Jan-Erik Rediger 147bab0f70 Prepare release notes for next release 2020-11-10 10:39:55 +01:00
Beatriz Rizental e609819533
Update TWiG index with Glean.js blog post (#1293)
[doc only]
2020-11-03 10:09:36 +01:00
Jan-Erik Rediger 3e231a46c5 Call out to update the megazord 2020-10-27 11:05:46 +01:00
Travis Long cf04b6600d Add "uniffi" to .dictionary 2020-10-21 09:43:00 -05:00
Jan-Erik Rediger c5e1bdc576 Test that events in custom pings are flushed at startup.
This also specifically points out in the docs that pings need to be
registered before initialization for this to work.
2020-10-09 15:16:27 +02:00
Beatriz Rizental 65cd65f89a
Update TWiG index with "glean-core to Wasm experiment" blog post (#1231)
* Update twig.md

* Add "Wasm" to .dictionary
2020-09-25 12:00:29 -04:00
Beatriz Rizental b24b79ee2d
Bump glean_parser version to 1.28.6 (#1225) 2020-09-24 11:30:09 +02:00
Jan-Erik Rediger 40579c5d24 Add changelog entry 2020-09-17 16:55:18 +02:00
Chris H-C 8cbc293c84 Update dictionary for new changelog. 2020-09-15 16:42:56 -04:00
Alessio Placitelli 2322a5efae Mention ABI splits for Android projects 2020-09-08 18:33:57 +02:00
Jan-Erik Rediger b01284569e Document dependency updates for Rust deps
[doc only]
2020-08-26 16:49:31 +02:00
Jan-Erik Rediger cdc87e1bd9 Document our CI setup
[doc only]
2020-08-18 10:48:02 +02:00
Michael Droettboom 76881c7fe5 Bug 1634626: Python: Add measure context manager 2020-08-06 09:19:56 -04:00
Beatriz Rizental 78bee73323
Bug 1644364 - Move logic to limit max retries on recoverable failures to glean-core (#1120) 2020-08-04 16:04:30 +02:00
Michael Droettboom b676cdf3cf
[doc only] Documentation cleanup (#1103)
* [doc only] Documentation cleanup

This is just a basic cleanup of things I found reading through the user
documentation, mainly of the form:

- Correcting the uses of "Glean" vs. "Glean SDK"
- Updating a few facts that became out of date
- Removing a little Python -> C# copy-pasta
- Adding the missing new metric parameter `data_sensitivity`
- Not linking out to glean_parser for the metric parameter docs (which have been
  duplicated in the Glean Book for some time).

* [doc only] Address comments in the PR
2020-07-28 10:44:57 -04:00
Beatriz Rizental ee5039301a
Bug 1650787 - Add docs about JWE metric type (#1087) 2020-07-22 11:00:58 +02:00
Michael Droettboom 708bd98275
Bug 1653196: Always record *some* value for app_display_version (#1088)
* Bug 1653196: Always record *some* value for app_display_version

* Add comment

* spellcheck

* Fix test
2020-07-21 18:29:04 -04:00
Beatriz Rizental 0d7532f832
Bug 1650787 - Implement the JWE metric type on the core and FFI (#1062) 2020-07-20 10:24:24 +02:00
Michael Droettboom 34e4a7eaa8
Bug 1646402: Python: Don't use threading in multiprocessing subprocesses (#986)
* Bug 1646402: Python: Don't use threading in multiprocessing subprocesses

* spellcheck

* Add comment
2020-06-22 10:19:09 -04:00
brizental ac129624d5 Add 'enqueue' to dictionary
[doc only]]
2020-06-22 10:09:52 +02:00
Jan-Erik Rediger 4b398e45d2 Rerunning spellcheck updated the number of words in the dictionary 2020-06-11 11:16:09 +02:00
Travis Long 8551052bcd Add gzipped to .dictionary 2020-06-05 10:16:31 -05:00
Michael Droettboom 2cacbe6ab6
Bug 1635865: Fix ConcurrentModificationException (#900)
* Bug 1635865: Fix ConcurrentModificationException

* Add CHANGELOG

* Call registerPingType instead of calling FFI directly

* LINT
2020-05-21 10:49:17 -04:00
Alessio Placitelli f236504f76 Add the changelog entry 2020-05-15 12:50:56 +02:00
Michael Droettboom 5ce99d1bbc
[doc only] Bug 1626574: Add info about generating docs for Python (#867)
* [doc only] Bug 1626574: Add info about generating docs for Python

* Update docs/user/adding-glean-to-your-project.md

* Add additional context based on PR feedback

* Add note about including Glean docs in the project documentation

Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
2020-05-11 16:58:04 -04:00
Michael Droettboom 366478c35c
Bug 1630997: Control min and max values in timing distribution (#850) 2020-05-07 11:43:04 -04:00
Jan-Erik Rediger 007392fc22 Spellcheck
[doc only]
2020-05-05 13:06:27 +02:00
Michael Droettboom 9abef725ab
Python: Parse glean.h header at build time (#852)
* Python: Parse glean.h header at build time

* Add CHANGELOG
2020-05-04 15:34:18 -04:00
Michael Droettboom bc8c697a9d
Upgrade glean_parser to 1.20.1 (#827)
* Upgrade glean_parser to 1.20.0

* spellcheck

* Fix sample app metrics.yaml

* Upgrade to glean_parser 1.20.1

* Fix syntax

* iso8601 only needed by earlier Pythons

* Upgrade to 1.20.2

* Handle iso8601 as an optional dependency

* spellcheck

* Fix up CHANGELOG
2020-05-04 12:21:43 -04:00
Michael Droettboom 5e36bbfd70
[doc only] 1615672: Elaborate on why custom pings are useful (#836)
* [doc only] 1615672: Elaborate on why custom pings are useful

* Add concrete example in all places
2020-04-29 08:10:07 -04:00
Michael Droettboom e3b223a4cd
[doc only] Remove mention of multiprocessing (#838)
This should have been updated in #819
2020-04-22 21:54:02 -04:00
Michael Droettboom 51d07775cc
Bug 1628310: Don't raise HTTPException or socket.gaierror (#816)
* Bug 1628310: Don't raise HTTPException or socket.gaierror

These exceptions occur when the network is down, the URL doesn't resolve,
and a bunch of other things. If any of these fail, we should just log and return
False so the ping uploader can move on to other pings or try again next time.
This is preferable to displaying a long (but ultimately harmless) traceback.

* debug -> error

* Update glean-core/python/tests/test_network.py

Co-Authored-By: Alessio Placitelli <alessio.placitelli@gmail.com>

* Add CHANGELOG

Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
2020-04-10 08:53:37 -04:00
Jan-Erik Rediger 9e4703ffb5 Fix spelling in changelog 2020-04-08 11:17:03 +02:00