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
c8c4274aed
Bug 1653194 - Add the definition for 'measurement window' to glossary ( #1105 )
2020-07-28 15:06:00 +02:00
Beatriz Rizental
dafca57531
Implement ping tagging for iOS ( #1100 )
2020-07-28 14:34:49 +02:00
Alessio Placitelli
562649698f
Merge pull request #1099 from Dexterp37/csharp_counter_type
...
Bug 1648418 - Implement the C# Counter Metric
2020-07-28 12:48:04 +02:00
Alessio Placitelli
1dc6dfdeb3
Enable the c# Labeled Counter and add its documentation
2020-07-28 11:53:24 +02:00
Alessio Placitelli
7dce3011f3
Add test coverage for the C# CounterMetricType
2020-07-28 11:53:24 +02:00
Alessio Placitelli
16e71de34f
Add the C# CounterMetricType
2020-07-28 11:53:24 +02:00
Alessio Placitelli
48797ee9be
Add FFI support for the C# CounterMetricType
2020-07-28 11:53:24 +02:00
Alessio Placitelli
4f79ec509a
Implement labeled booleans and strings in c#
2020-07-28 11:53:24 +02:00
Alessio Placitelli
86928ed12a
BONUS: Fix a broken comment in the BooleanMetricType
2020-07-28 11:53:24 +02:00
Jan-Erik Rediger
03ccfb1d24
Merge pull request #1104 from mdboom/fix-yaml-formatting
...
Fix YAML formatting
[doc only]
2020-07-28 10:04:34 +02:00
Michael Droettboom
657909f47c
Fix YAML formatting
2020-07-27 18:38:27 -04:00
Alessio Placitelli
1c38bb3568
Merge pull request #1097 from Dexterp37/labeled_boolean
...
Bug 1648436 - Add the c# labeled boolean and string
2020-07-27 15:05:48 +02:00
Alessio Placitelli
000cb8b2ea
Update the changelog and add c# labeled metrics docs
2020-07-27 14:14:17 +02:00
Alessio Placitelli
0bdb9d9dd8
Add test coverage for the C# labeled booleans and strings
2020-07-27 14:14:17 +02:00
Alessio Placitelli
dbe856da4c
Implement labeled booleans and strings in c#
2020-07-27 14:14:17 +02:00
Alessio Placitelli
25c38f7c8e
Add the FFI support for c# labeled booleans and strings
2020-07-27 12:57:38 +02:00
Travis Long
6f85a261fb
Bumped version to 31.6.0
2020-07-24 13:42:02 -05:00
Alessio Placitelli
9524df71c1
Merge pull request #1095 from Dexterp37/csharp_timespan
...
Bug 1648442 - Add the timespan metric type to C#
2020-07-24 14:52:35 +02:00
Alessio Placitelli
e0cb1f80ab
Add the c# timespan API docs
2020-07-24 14:41:36 +02:00
Alessio Placitelli
d5169e9a5a
Add C# test coverage for the TimespanMetricType
2020-07-24 14:35:22 +02:00
Alessio Placitelli
43a6b4a4b9
Implement the TimespanMetricType in C#
2020-07-24 14:35:22 +02:00
Alessio Placitelli
d7d3f5c90c
BONUS: Fix the JweMetricType comment for c#
2020-07-24 14:28:27 +02:00
Travis Long
eaecafc213
Update glean_parser to 1.28.1
2020-07-24 07:22:02 -05:00
Travis Long
6ee16d11f7
Update changelog per @badboy's request
2020-07-24 07:22:02 -05:00
Travis Long
bf87887508
Bug 1654645 - Update glean_parser to v1.28.0 for fix to missing metrics from deletion-request pings
2020-07-24 07:22:02 -05:00
Beatriz Rizental
b623b9779f
Fix title of JWE payload on the Glean Book ( #1094 )
...
[doc only]
2020-07-23 18:15:23 +02:00
Jan-Erik Rediger
5bb90efb01
Merge pull request #1084 from mozilla/bikesheeeeeeed
...
Use one more e in "queueing" to make it consistent with Kotlin
2020-07-22 11:55:47 +02:00
Jan-Erik Rediger
14824cdec5
Use one more e in "queueing" to make it consistent with Kotlin
2020-07-22 11:35:25 +02:00
Jan-Erik Rediger
3a5722894f
Merge pull request #1086 from mozilla/docs-on-order-of-events-when-setting-upload
...
Bug 1650753 - Document behavior of `setUploadEnabled` if Glean is not initialized
2020-07-22 11:25:45 +02:00
Jan-Erik Rediger
44dd079a36
Merge pull request #1046 from mozilla/deprecate-getuploadenabled
2020-07-22 11:25:04 +02:00
Jan-Erik Rediger
2717a62bd9
Log as errors
...
Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
2971286519
Reset all global state when destroying the Glean handle
...
After we destroy the Glean handle we should be conceptually in a clean
state, just as if the app is just starting and loading Glean.
And for Glean that means tasks should get queued up.
Some tests explicitly toggle this already, but resetting it here does
not seem to affect them.
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
47e78650d2
Python: Track if initialize was called
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
d1658224c5
C#: Track if initialize was called
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
758b284fec
Swift: Track if initialize was called
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
8f0ea213ca
Kotlin: Track if initialize was called
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
c0268a397f
Log proper message and exit code when schema check fails
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
5d9ed97fa3
Default to `false` for `getUploadEnabled`
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
887c3f0894
Python: Make `get_upload_enabled` a private method
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
5b3b5de940
Test that flipping upload enabled respects order of events
2020-07-22 11:06:40 +02:00
Jan-Erik Rediger
93c17bee77
Deprecate `getUploadEnabled()` across all implementations
...
Due to Glean's asynchronous initialization the return value can be incorrect.
Applications should not rely on Glean's internal state.
Upload enabled status should be tracked by the application and communicated to Glean if it changes.
Note: The method was removed from the C# implementation.
2020-07-22 11:06:34 +02:00
Jan-Erik Rediger
482a2b7293
Always enqueue an async task to change upload
...
That way it follows what a user expect when calling it inbetween other calls:
It executes in the right order.
Because the dispatch queue is halted until Glean is fully initialized
we can safely enqueue here and it will execute after initialization.
2020-07-22 11:06:19 +02:00
Beatriz Rizental
ee5039301a
Bug 1650787 - Add docs about JWE metric type ( #1087 )
2020-07-22 11:00:58 +02:00
Alessio Placitelli
147aa03039
Merge pull request #1091 from mozilla/release-v31.5.0
...
Bumped version to 31.5.0
2020-07-22 10:45:14 +02:00
Alessio Placitelli
93e3cce10e
Bumped version to 31.5.0
2020-07-22 10:04:28 +02:00
Alessio Placitelli
eb6c6a8e50
Merge pull request #1089 from mdboom/python-intermittent-details
...
Bug 1653995: Provide more info to diagnose intermittent
2020-07-22 09:59:43 +02:00
Alessio Placitelli
38bf485779
Merge pull request #1078 from daoshengmu/csharpSampleProjectManifest
...
Bug 1653897 - Fix the C# sample app to report the correct version on Windows 10
2020-07-22 09:58:49 +02:00
Alessio Placitelli
8255fd30cd
Merge pull request #1090 from mdboom/update-glean-parser-1.26.0
...
Upgrade glean_parser to 1.27.0
2020-07-22 09:30:23 +02:00
Michael Droettboom
5da3c619a0
Fix Python bindings
2020-07-21 19:22:41 -04:00