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

639 Коммитов

Автор SHA1 Сообщение Дата
Jan-Erik Rediger c65b0c5a36
Merge pull request #749 from brizental/1619274/timing-fn-fix
Fix timing function name in timing distribution doc
2020-03-03 10:06:32 +01:00
Beatriz Rizental 11db2e9f2c Fix timing function name in timing distribution doc
[doc only]
2020-03-02 17:53:07 -03:00
Michael Droettboom 9bec38421e
[doc only] Fix docs about using plugin, and use a-c linkage everywhere (#748)
* [doc only] Fix docs about using plugin, and use a-c linkage everywhere

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

Co-Authored-By: Jan-Erik Rediger <badboy@archlinux.us>

Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
2020-03-03 00:21:58 +05:30
Michael Droettboom b189d659ad
Add TWiG post (#745) 2020-02-29 03:44:52 +05:30
William Lachance a3e3fd2b5f
Better docs on setting a ping tag in python (#741)
* Better docs on setting a ping tag in python

* Update python.md

* Update per Mike's suggestion
2020-02-28 23:22:45 +05:30
Michael Droettboom 9f1f6df3fb
Update the synchronous communication channel (#744) 2020-02-28 21:40:47 +05:30
Alessio Placitelli 53f5308209
Merge pull request #716 from Dexterp37/app_lifetime_docs
Clarify the usage of 'lifetime: application' [doc only]
2020-02-28 15:44:56 +01:00
Alessio Placitelli 99314a8fa0 Clarify the usage of 'lifetime: application' 2020-02-28 10:28:12 +01:00
Michael Droettboom d50eb1d0e3 Python: Implement timespan metric type 2020-02-25 18:02:04 -05:00
Michael Droettboom 9bb3ebd4cd
Python: Implement Datetime metric type (#732)
* Python: Implement Datetime metric type

* Add CHANGELOG

* Spellcheck
2020-02-25 19:08:32 +05:30
Chris H-C 7f4d8b01a4 Add my TWiG 2020-02-21 14:37:13 -05:00
Michael Droettboom dd13864071
Python: Add boolean metric type (#731)
* Python: Import boolean metric type

* Add CHANGELOG

* pythonlint
2020-02-21 19:27:05 +05:30
Michael Droettboom 9654cf4231
Python: Make public, document and test the debugging features (#733) 2020-02-21 19:26:29 +05:30
Chris H-C 49e7f64f9c Add Alessio's TWiG from last week. 2020-02-20 11:10:01 -05:00
Michael Droettboom baf34adf72
[doc only] Add brief note about Windows wheels (#722) 2020-02-20 18:53:09 +05:30
Michael Droettboom 8891184afa
[doc only] 1610521: Document the timing and memory distribution function (#720) 2020-02-20 18:52:45 +05:30
Alessio Placitelli 390d10692d
Merge pull request #728 from mdboom/error-reporting-uses-labeled-metric
[doc only] Correctly show that error recording uses a labeled metric
2020-02-20 10:04:46 +01:00
Alessio Placitelli ac77743d9d
Merge pull request #725 from mdboom/fix-typo2
[doc only] Add a subject to sentence
2020-02-20 10:03:49 +01:00
Michael Droettboom 6c07a1d468
[doc only] Mention the preinit_tasks_overflow metric (#727)
...where we talk about overflowing the task queue
2020-02-20 03:56:46 +05:30
Michael Droettboom bbf9bc7ab4
[doc only] Document we have wheels for the 3 major desktop platforms (#724) 2020-02-20 03:56:25 +05:30
Michael Droettboom 95aca134ce
[doc only] Move 'following steps' right before steps (#726) 2020-02-20 03:55:51 +05:30
Michael Droettboom a7e2d71346 [doc only] Correctly show that error recording uses a labeled metric 2020-02-19 17:24:44 -05:00
Michael Droettboom 3c67a3b1b2 [doc only] Add a subject to sentence 2020-02-19 17:09:51 -05:00
Michael Droettboom b3f0b3cac8
Document adding a new metric type in Python (#721)
* [doc only] Document adding a new metric type in Python

* [doc only] Add more detail about details
2020-02-20 03:05:58 +05:30
Beatriz Rizental c24f6f62fd Update Java documentation to use new API
[doc only]
2020-02-17 12:35:32 +01:00
Michael Droettboom 3f1fca72ae
1608585: Fix labeled regex (#668)
* 1608585: Fix labeled regex

* Update docstring

* Update docs

* Add CHANGELOG

* spellcheck

* Move CHANGELOG entry
2020-02-14 22:20:16 +05:30
Michael Droettboom 268d303f6e
Upgrade to glean_parser v1.18.2 (#712)
* Upgrade to glean_parser v1.18.1

* Fix reason list formatting
2020-02-14 20:15:19 +05:30
Alessio Placitelli 1ec7a51c64
Merge pull request #702 from Dexterp37/fixup_glean_in_fenix_docs
Fix the instructions to test Glean in Fenix [docs only]
2020-02-13 17:43:12 +01:00
Alessio Placitelli 78a60333e6
Rephrase step 2.4 2020-02-13 17:33:24 +01:00
Alessio Placitelli 285b862a98
Merge pull request #682 from tdsmith/patch-1
Disambiguate device model
2020-02-13 10:03:38 +01:00
Michael Droettboom bb60016439
Add detail about updating Glean version in consumers (#708) 2020-02-13 03:01:55 +05:30
Alessio Placitelli c89f0e90da Fix the instructions to test Glean in Fenix 2020-02-12 15:31:11 +01:00
Alessio Placitelli 8a517223b8
Merge pull request #701 from Dexterp37/change_metrics_docs
Document the process for requesting new metric types [doc only]
2020-02-12 14:51:40 +01:00
Alessio Placitelli c1ab662a11 Document the process for requesting new metric types 2020-02-12 11:27:34 +01:00
Jan-Erik Rediger 8b529ae348 Remove `ping_type` from pings. 2020-02-12 11:05:16 +01:00
Alessio Placitelli d90c68d0fb Update 'baseline' ping docs 2020-02-11 16:14:10 +01:00
Michael Droettboom 2e3f59be19
1557048: Add reason codes to the metrics ping (#649)
* 1557048: Add reason codes to the metrics ping

This adds support for sending reason codes along with pings.  The reason codes
are defined as an enumeration in the pings.yaml file, and only these values
are allowed on specific pings.

Additionally, this builds on that to add reason codes to the metrics ping.

* Use short form for enums

* Suppress compiler warning

* swiftlint

* NoReasonCodes -> NoExtraKeys

* Fix descriptions
2020-02-11 20:40:10 +05:30
Jan-Erik Rediger 0219ffee95 Use consistent 24h clock in documentation
[doc only]
2020-02-07 14:24:22 +01:00
Jan-Erik Rediger 977a59bdfc Drop automated code coverage reports
Coverage reports by now are merely a noise, take extra CI time and we
ran into some problems before generating them.
This also allows us to drop the one usage of a "xlarge" instance on CircleCI.
2020-02-06 14:34:52 +01:00
Michael Droettboom 4ca9181fab [doc only] Indicate that markdown syntax can be used in description fields 2020-02-05 21:34:04 -05:00
Jan-Erik Rediger 98f3dd916a
Merge pull request #680 from mozilla/git-link
Add "open on github" link to docs
2020-02-04 16:57:56 +01:00
Jan-Erik Rediger 72f1612ca2 Use a single properly named CSS file
[doc only]
2020-02-04 10:17:22 +01:00
Jan-Erik Rediger 2433dc672e
Link new TWiG (#681)
[doc only]
2020-02-04 00:26:50 +05:30
Tim D. Smith 65f76c2f63
Disambiguate device model
"Device model" can mean different things on Android; clarify that this is `Build.MODEL` and not e.g. `Build.DEVICE`.
2020-02-03 10:47:27 -08:00
Jan-Erik Rediger 767ed6939b Use mdbook-open-on-gh to add a "open on gh" link to the book
[doc only]
2020-01-30 15:54:59 +01:00
Jan-Erik Rediger c40ff0d478 Make mdbook render a link to the repository
[doc only]
2020-01-30 11:49:16 +01:00
Michael Droettboom 1d7eabea5d
1608130: Document how to update android-components (#667)
* 1608130: Document how to update android-components

* Update spellcheck dictionary

* Update docs/dev/cut-a-new-release.md

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

* Update docs/dev/cut-a-new-release.md

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

* Update docs/dev/cut-a-new-release.md

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

* Update docs/dev/cut-a-new-release.md

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

* Link to a-c CHANGELOG

* Change numbering format

Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
2020-01-25 00:12:57 +05:30
Michael Droettboom 66596904db
1611177: Document that uploadEnabled=false clears metrics (#674)
* 1611177: Document that uploadEnabled=false clears metrics

* Add Python update

* Address comments in the PR

* swiftformat
2020-01-25 00:11:47 +05:30
Alessio Placitelli 769971d62c
Fixup 'exfiltrated' 2020-01-24 15:13:32 +01:00
Alessio Placitelli ff24647b81
Mention historical data 2020-01-24 15:11:09 +01:00
Alessio Placitelli 4ab5f493f0
Update docs/user/metrics/labeled_counters.md
Co-Authored-By: Jan-Erik Rediger <jrediger@mozilla.com>
2020-01-24 14:42:24 +01:00
Alessio Placitelli 9272bad424
Document changing labels
This unfortunately requires a GeckoView note :(
2020-01-24 14:33:22 +01:00
Travis Long 60c987ccb0 Bug 1598012 - Add experiment API to iOS bindings 2020-01-23 16:16:52 -06:00
Travis Long 53fb434f46 Remove `preinitTasksTimeout` metric 2020-01-21 14:51:06 -06:00
Alessio Placitelli 056314882d
Merge pull request #663 from Dexterp37/timingdistribution_invalid_state
Report `invalid_state` when stopping non started TimingDistribution
2020-01-20 12:38:39 +01:00
Beatriz Rizental a8187ebea1
Merge pull request #633 from brizental/metrics-locale
Add locale metric to metrics ping
2020-01-20 10:25:00 +01:00
Alessio Placitelli 0d54ed0b08 Report the InvalidState error in TimingDistribution
This will be reported when stop_and_accumulate() is
called without a prior call to start()
2020-01-20 10:21:47 +01:00
Beatriz Rizental 38607e3899 Add locale to the client_info section 2020-01-17 15:00:01 +01:00
Alessio Placitelli d6f2899e31
Merge pull request #661 from mozilla/Dexterp37-patch-1
Document that empty string lists are allowed [doc only]
2020-01-17 14:50:41 +01:00
Jan-Erik Rediger a1fdd3574b Fix link by lowercasing the click target
[doc only]
2020-01-17 13:34:12 +01:00
Alessio Placitelli d77b112f9b
Document that empty string lists are allowed [doc only] 2020-01-17 12:03:00 +01:00
Michael Droettboom 0531593c31
1609482: Add instrumentation about overflowing the pre-init task queue (#657)
* 1609482: Add instrumentation about overflowing the pre-init task queue

* Add link to data review

* Add CHANGELOG

* Fix unit tests
2020-01-17 01:01:58 +05:30
Jan-Erik Rediger b6d5e6ec22 Remove now-dead link
[doc only]
2020-01-14 10:20:22 +01:00
Jan-Erik Rediger c760112995 Delete the support branch afterwards 2020-01-14 10:20:22 +01:00
Jan-Erik Rediger d582e6a5ef More precise description on what tag to use 2020-01-14 10:20:22 +01:00
Jan-Erik Rediger af67e1c5b5 Use different wording 2020-01-14 10:20:22 +01:00
Jan-Erik Rediger d9a860c714 Put the release process after the contribution process in the book 2020-01-14 10:20:22 +01:00
Jan-Erik Rediger 7cef942b58 Link between the release and the contributing process 2020-01-14 10:20:22 +01:00
Jan-Erik Rediger 6563229436 Apply suggestions from code review
Co-Authored-By: Michael Droettboom <mdboom@gmail.com>
2020-01-14 10:20:22 +01:00
Jan-Erik Rediger b50fcaa177 Fix spelling 2020-01-14 10:20:22 +01:00
Jan-Erik Rediger 50a8c9fc90 Document GitFlow-like development & release process 2020-01-14 10:19:47 +01:00
Jan-Erik Rediger 2160324a79 Extend it with Glean pipeline & tools
[doc only]
2020-01-13 12:01:58 +01:00
Jan-Erik Rediger a502fdb1fa
Apply suggestions from code review
[doc only]

Co-Authored-By: Alessio Placitelli <alessio.placitelli@gmail.com>
2020-01-13 11:34:33 +01:00
Jan-Erik Rediger db8c715af0 Start the glossary
[doc only]
2020-01-13 10:55:17 +01:00
Alessio Placitelli 5af742a1cb
Merge pull request #642 from mozilla/Dexterp37-patch-2
Report the correct limit for String metric types [doc only]
2020-01-13 09:50:34 +01:00
Alessio Placitelli 34a4629b10
Report the correct limit for String metric types
We currently report 50, but the real limit is [100](4a64270ba2/glean-core/src/metrics/string.rs (L12)).
2020-01-13 09:33:32 +01:00
Alessio Placitelli 7c2bf73009
Mention linking to the 'data review response'
In our docs we say that linking to the "data review" is ok, but
we usually encourage to link to the data review response.
Clarifying the messaging a bit to make it explicit.
2020-01-13 09:23:45 +01:00
Beatriz Rizental 025764e280
Update twig.md with new "Glossary" post 2020-01-10 17:07:07 +01:00
Travis Long 8849e3503b Update docs and add CHANGELOG entry 2020-01-09 10:34:08 -06:00
Travis Long 903a1969f5 Bug 1595771 - Break long pings up for logcat
Breaks up large pings for logging using the `GleanDebugActivity` `logPings` switch.  Android logcat has a limited payload size and so to prevent messages from being truncated they are broken up and sequenced in a size that is compatible with logcat.
2020-01-08 10:25:43 -06:00
Alessio Placitelli 0a989dd3a0 Remove the migration code from the Kotlin implementation
This additionally removes the glean.core.migration.successful
metric, which is no longer used.
2020-01-08 16:40:47 +01:00
Michael Droettboom 91bcbbac4c
1601625: Support Python 3.5 (#614)
* Support Python 3.5

* Fix build

* Add CHANGELOG entry
2020-01-08 21:04:23 +05:30
Alessio Placitelli 1fcc7cb4e8
Add the missing link to 'quantity' metric types 2020-01-08 11:35:39 +01:00
Jan-Erik Rediger 7b3d1e817a
1605055 - Add Swift example for testing custom pings (#617)
1605055 - Add Swift example for testing custom pings
2020-01-08 10:43:51 +01:00
Michael Droettboom 18ee045487
1606837: Add spellchecking to docs (#613)
* Include Rust Cookbook's upstream spell-checking script

* Add local modifications to the spellcheck.sh script

* Integrate the spellchecking script

* Spelling corrections and custom dictionary

* Fix permissions

* Use Debian sid for spell-checking

* Add documentation about writing documentation

* HOWTOs -> Howtos

* Add link to other docs

* eg. -> e.g.

* Document the scope of the documentation.
2020-01-07 20:53:57 +05:30
Jan-Erik Rediger 96deb79708 Add Swift example for testing custom pings
[doc only]
2020-01-07 14:02:46 +01:00
Jan-Erik Rediger 0678842faf
Remove app_forceclosed_count (#609)
Remove app_forceclosed_count
2020-01-07 11:59:17 +01:00
Michael Droettboom 6e24b9c0a3
1605055: Document testing a custom ping from Python (#611) 2020-01-06 19:26:10 +05:30
Michael Droettboom 09fd694861
1604495: Improve pings.yaml docs (#610) 2020-01-06 19:16:33 +05:30
Michael Droettboom 9b080dcc6f
1606695: Python: Implement UUID metric type (#612)
* 1606695: Python: Implement UUID metric type

* Add docs
2020-01-06 19:15:32 +05:30
Michael Droettboom 58c62d9c1e Remove app_forceclosed_count 2019-12-31 17:03:31 -05:00
Raphael Pierzina 720578ec6c Fix broken link in General API docs (#606) 2020-01-01 00:59:44 +05:30
Raphael Pierzina 93926afe5b Fix module name in Python documentation 2019-12-21 17:14:25 +01:00
Jan-Erik Rediger 6c1dc97e4a
Tidy client_info a tad (#602)
Tidy client_info a tad
2019-12-20 15:54:00 +01:00
Chris H-C e164be7aec
Tidy client_info a tad
`client_id` is Optional and I put the `app_*` metrics in lexicographical order.
2019-12-20 09:27:15 -05:00
Jan-Erik Rediger 8867343a44 Clarify behavior for custom and built-in pings
[doc only]
2019-12-20 15:01:16 +01:00
Jan-Erik Rediger 63e60ddc6c
Document queueing before Glean is initialized (#599)
Document queueing before Glean is initialized
2019-12-20 14:28:54 +01:00
Jan-Erik Rediger ab09aba9c8 Render the Glean changelog in the book
[doc only]
2019-12-20 13:49:30 +01:00
Jan-Erik Rediger 23ef380bf7 Document queueing before Glean is initialized
[doc only]
2019-12-20 13:42:33 +01:00
Jan-Erik Rediger 314d960cfa
Update docs/user/pings/custom.md
Co-Authored-By: Travis Long <tlong@mozilla.com>
2019-12-19 15:32:11 +01:00
Jan-Erik Rediger dd2cd46190 Reference an actual alphabet for the ping name constraints
The same wording is used on https://docs.telemetry.mozilla.org/cookbooks/new_ping.html
2019-12-19 15:29:25 +01:00
Jan-Erik Rediger a9c399cd87 Document the limits for ping names 2019-12-19 11:59:14 +01:00
Jan-Erik Rediger aff57407c4 Call out the new ping 2019-12-19 11:59:14 +01:00
Jan-Erik Rediger 0f8061ee32 Prepare documentation for Swift/Python example code 2019-12-19 11:59:14 +01:00
Jan-Erik Rediger 14585b39e9 Use dashes in custom ping shown in examples 2019-12-19 11:35:36 +01:00
Jan-Erik Rediger b80aba7c6d Add missing Swift example for custom pings 2019-12-19 11:34:05 +01:00
Jan-Erik Rediger 81547170a9
Choose a random port in the UI tests (#588)
Choose a random port in the UI tests
2019-12-17 16:47:35 +01:00
Jan-Erik Rediger b49bba04d5 Add missing anchor 2019-12-17 16:32:34 +01:00
Jan-Erik Rediger 4bfa09e474
Split out control API into its own chapter (#584)
Split out control API into its own chapter
2019-12-17 16:26:09 +01:00
Alessio Placitelli 193a8a252b
Merge pull request #587 from Dexterp37/release_docs_update
Clarify the release docs
2019-12-17 16:02:45 +01:00
Jan-Erik Rediger a4d504eda7 Rename the file
[doc only]
2019-12-17 15:42:36 +01:00
Jan-Erik Rediger 6a5b39a9cc
Update docs/user/control-api.md
Co-Authored-By: Alessio Placitelli <alessio.placitelli@gmail.com>
2019-12-17 15:42:32 +01:00
Alessio Placitelli 544bb50047 Clarify the release docs 2019-12-17 15:18:16 +01:00
Jan-Erik Rediger d445ca998f Add note about login requirement 2019-12-17 15:05:45 +01:00
Jan-Erik Rediger 7fb710463f Use a relative link
mdbook doesn't play nice with absolute links
2019-12-17 15:02:27 +01:00
Jan-Erik Rediger 11fd84a0d0
Apply suggestions from code review
Co-Authored-By: Alessio Placitelli <alessio.placitelli@gmail.com>
2019-12-17 14:50:57 +01:00
Jan-Erik Rediger ba372e59a5 List out the available API
[doc only]
2019-12-17 11:57:29 +01:00
Jan-Erik Rediger 272822b27a Move metrics codegen section to match other languages
[doc only]
2019-12-17 11:45:51 +01:00
Jan-Erik Rediger 4cce68d4e8 Split out control API into its own chapter
[doc only]
2019-12-17 11:45:50 +01:00
Jan-Erik Rediger 48a14f3f73 Document debug pings and the HTTP header
[doc only]
2019-12-17 11:30:45 +01:00
Jan-Erik Rediger 21ac13655b
Merge pull request #578 from mozilla/platform-specific-debugging
Platform specific debugging
2019-12-17 10:37:13 +01:00
Alessio Placitelli 4295386b2b
Merge pull request #571 from Dexterp37/timing_distribution_overflow
Introduce the `InvalidOverflow` error
2019-12-16 18:41:05 +01:00
Alessio Placitelli f68d464f74 Update the metrics files and the docs
This also adds a small note in the
Rust code to mention that all these
things need to be updated.
2019-12-16 18:11:30 +01:00
Jan-Erik Rediger dbeaf3e6fe
Update docs/user/adding-glean-to-your-project.md
Co-Authored-By: Michael Droettboom <mdboom@gmail.com>
2019-12-16 18:07:57 +01:00
Jan-Erik Rediger 37cc67d451 Indicate that registering a new product requires a bug filed
[doc only]
2019-12-16 17:54:59 +01:00
Alessio Placitelli 072569b177 Update the docs 2019-12-16 17:54:52 +01:00
Jan-Erik Rediger a6ba0f7a70 Word change to indicate it's debugging the usage of Glean 2019-12-16 17:50:43 +01:00
Jan-Erik Rediger b134f533e8 Document general commands for debugging 2019-12-16 17:47:57 +01:00
Jan-Erik Rediger a265a70ed8 Split debugging chapter into Android and iOS parts 2019-12-16 17:45:06 +01:00
Michael Droettboom efd231968a
1583514: Rename send -> submit (#570)
* 1583514: Rename send -> submit

* detekt

* Add additional missed changes

* Run cbindgen

* Add more missing changes

* Rename local variable

* Fix after rebase
2019-12-16 19:20:05 +05:30
Jan-Erik Rediger cc4bc7952c Rename `deletion_request` ping to `deletion-request` ping 2019-12-13 11:50:30 +01:00
Jan-Erik Rediger a29cf80cba Use all-pings everywhere 2019-12-13 11:42:45 +01:00
Jan-Erik Rediger 5f77fac09c Update glean_parser 2019-12-13 11:42:45 +01:00
Michael Droettboom 9f667c7b99
1602786: Remove *_ping_count metrics (#564) 2019-12-11 19:13:15 +05:30
Travis Long ca574acedb Bug 1586736 - Add Glean iOS debug functionality
This adds the custom URL handling to provide the Glean debug functionality.  This also adds the functionality to the glean-sample-app and the documentation on how to add and use this in a consuming application.
2019-12-10 09:08:30 -06:00
Jan-Erik Rediger 64a36a4838 Document how to add Glean to an iOS project 2019-12-10 10:42:04 +01:00
Michael Droettboom b71a9ceb84
1592006: Implement events for Python bindings (#553)
* 1592006: Implement events for Python bindings

* Update type of function

* Add CHANGELOG
2019-12-09 20:46:13 +05:30
Jan-Erik Rediger ec66257b7c
Merge pull request #555 from mdboom/update-string-length-docs
Update string length docs
2019-12-09 13:32:29 +01:00
Beatriz Rizental 92fb5e5def
Add new blog post 2019-12-06 22:45:08 +01:00
Michael Droettboom d78226cafe [skip ci] Remove documentation about Kotlin string truncation 2019-12-06 11:49:59 -05:00
Jan-Erik Rediger ce75dc2932 Document send_if_empty for pings
[doc only]
2019-12-06 12:27:01 +01:00
Jan-Erik Rediger 7b74c57ce5 Link deletion_request ping from overview 2019-12-06 12:22:45 +01:00
Jan-Erik Rediger 3229c2a11d
Update docs/user/pings/deletion_request.md
[doc only]

Co-Authored-By: Alessio Placitelli <alessio.placitelli@gmail.com>
2019-12-06 11:49:03 +01:00
Jan-Erik Rediger 690646d0fd Document deletion_request ping
[doc only]
2019-12-06 11:39:32 +01:00
Jan-Erik Rediger 6662471941 Regenerate auto-documentation from pings.yaml 2019-12-06 11:34:06 +01:00
Jan-Erik Rediger 9a8413d5b3
Implement the deletion request ping in Glean (#526)
Implement the deletion request ping in Glean
2019-12-03 10:09:25 +01:00
Alessio Placitelli b7390e8db1
Merge pull request #533 from Dexterp37/force_close_metric
Count the number of times a Glean product was force-closed
2019-12-02 16:11:12 +01:00
Alessio Placitelli ef8f22ba56 Link to the data-review response 2019-12-02 15:59:00 +01:00
Jan-Erik Rediger 1d6c7aa677 Add new blog post 2019-11-29 12:41:25 -05:00
Alessio Placitelli 1338a1dbbd Count the number of times a Glean product was force-closed 2019-11-29 17:47:12 +01:00
Jan-Erik Rediger f359ef547f Do not add a dummy metric to the deletion-request ping anymore
This for now also removed the auto-generated documentation for the ping.
That's a bug in the glean_parser and will be fixed later.
2019-11-28 13:12:11 +01:00
Jan-Erik Rediger 0ca9d0d1cb Document more clearly why a second directory is needed 2019-11-28 13:01:39 +01:00
Jan-Erik Rediger b8ebdcb1cd Write the deletion ping into a separate directory 2019-11-28 13:01:39 +01:00
Jan-Erik Rediger 6cef1713f9 Generate documentation for new ping 2019-11-28 13:01:39 +01:00
Jan-Erik Rediger 3b4fe4448c
Merge pull request #522 from mozilla/local-glean-dev
Local glean dev
2019-11-25 10:48:22 +01:00
Alessio Placitelli 79837c3d7f
Merge pull request #523 from mdboom/python-binding-status
[doc only] Add note about the status of the Python bindings
2019-11-25 08:53:05 +01:00
Chris H-C ff27ed0ffc Add this week's TWIG to the Index 2019-11-22 13:44:02 -05:00
Michael Droettboom 222b42afe7 [doc only] Add note about the status of the Python bindings 2019-11-22 11:28:55 -05:00
Jan-Erik Rediger 942c1c6c1a Rename the internal project to the simpler "glean" 2019-11-22 17:24:38 +01:00
Jan-Erik Rediger 5f762c2fcc Remove unneeded statements.
We're only dealing with android-components here, so no transitive
substitutions needed.
2019-11-22 17:09:33 +01:00
Jan-Erik Rediger 4ce980a67c Make it more clear where to run those tasks 2019-11-22 17:08:26 +01:00
Jan-Erik Rediger f3b952231e Use markdown footnotes 2019-11-22 17:06:09 +01:00
Jan-Erik Rediger 8f4055c376 Fix link structure 2019-11-22 15:56:06 +01:00
Jan-Erik Rediger 7cd6521d4b Remove mention of megazording 2019-11-22 15:52:15 +01:00
Jan-Erik Rediger 9d0b62d22b Document how to use locally-published Glean in Fenix 2019-11-22 15:14:55 +01:00
Jan-Erik Rediger 709abeae81 Document on how to work on unreleased Glean code in android-components 2019-11-22 15:14:48 +01:00
Jan-Erik Rediger 999338edc2
Cargo release (#435)
Cargo release
2019-11-22 10:34:48 +01:00
Alessio Placitelli 0922afd7de
Add the logo blog post to the twig 2019-11-21 19:15:19 +01:00
Jan-Erik Rediger e39102873e Add a list of TWiG blog posts
[doc only]
2019-11-21 16:17:27 +01:00
Jan-Erik Rediger 0caeb45ebb List published artifacts 2019-11-21 14:58:50 +01:00
Jan-Erik Rediger d7c23aeb86 Do not create a tag, let the user do that 2019-11-21 14:54:06 +01:00
Jan-Erik Rediger c5280f378c Update docs/dev/cut-a-new-release.md
Co-Authored-By: Michael Droettboom <mdboom@gmail.com>
2019-11-21 14:53:10 +01:00
Jan-Erik Rediger e2d0901152 Document how and when to release Rust crates
[doc only]
2019-11-21 13:17:54 +01:00
Jan-Erik Rediger c24e83c446 Mention that iOS artifacts will be available soon 2019-11-21 13:17:54 +01:00
Jan-Erik Rediger 24b83235ae Document for point-releases to earlier versions 2019-11-21 13:17:54 +01:00
Jan-Erik Rediger c394fadb8e Update documentation of the release process 2019-11-21 13:17:54 +01:00
Michael Droettboom 29dc99b5d5
Add markdown docs for "metrics about pings" (#507)
This was missed in #498
2019-11-20 16:25:07 -05:00
Michael Droettboom d0c011e49e
1597703: Use keyword-only arguments for Glean.initialize (#504) 2019-11-20 13:46:24 -05:00
Michael Droettboom f5d6d5a0e9
Add support for Python code coverage (#494) 2019-11-20 13:16:13 -05:00
Michael Droettboom 8b511a346a
Document all the Python things (#491)
* Document all the Python things

* Address low-hanging fruit comments in the PR

* Update test fixture instructions

* Clarify events ping

* Typo

* Fix typo

* Add link to other docs.

* Add note about Python data directory

* Update docs/user/testing-metrics.md

Co-Authored-By: Raphael Pierzina <raphael@hackebrot.de>
2019-11-20 13:11:31 -05:00
Michael Droettboom a995c2ca7e
Create 21.1.0 release (#499)
* Create 21.1.0 release

* Add missing step
2019-11-20 11:24:57 -05:00
Michael Droettboom 6fbab1dd31
1591197: Deploy binary Linux wheels of Python bindings (#472)
* 1591197: Deploy binary Linux wheels of Python bindings

* Produce manylinux wheels

* Add auditwheel

* Downgrade wheel

* Prepare things for "real" deployment
2019-11-18 18:27:49 -05:00
Michael Droettboom b19dd84cae
1591194: Implement experiments support for Python bindings (#471)
* 1591194: Implement experiments support for Python bindings

* Update docs
2019-11-18 09:50:27 -05:00
Michael Droettboom 5ec5b8e956
1595486: Make app_id and app_version required (#469)
* 1595486: Make app_id and app_version required

* glean-python -> glean-python-test
2019-11-13 11:21:40 -05:00
Michael Droettboom e9f853077d
1591190, 1591189: Implement labeled counters for Python (#467) 2019-11-12 09:26:20 -05:00
Michael Droettboom 26baf8dec1
Fix and disallow mdbook errors (#466) 2019-11-11 11:49:04 -05:00
Michael Droettboom ad6a2327c0
1588062: Add metrics usage documentation for Java. (#460)
* 1588062: Add metrics usage documentation for Java.

This doesn't include metrics that are GV-only (since it's unlikely they'll
be needed from Java), and doesn't include event or string_list where the
conversion to Java is more complex and I'd need to fire up the compiler to
check my work.

* Update docs/user/metrics/datetime.md

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

* Update docs/user/metrics/uuid.md

Co-Authored-By: Alessio Placitelli <alessio.placitelli@gmail.com>
2019-11-11 11:48:16 -05:00
Michael Droettboom 6079510536
1587136: Document difference between duration and start/end_time (#459)
* 1587136: Document difference between duration and start/end_time

* Use footnote notation
2019-11-11 11:47:57 -05:00
Michael Droettboom ff9e73b764
20.2.0 release (#465) 2019-11-11 10:16:32 -05:00
Michael Droettboom 7406630c7e
Include version in Glean plugin (#449) 2019-11-11 08:59:49 -05:00
Michael Droettboom 3b0d442400
20.0.0 release (#462) 2019-11-11 08:43:54 -05:00
Michael Droettboom da87c8e446
Implement string metric type for Python bindings (#454)
* Implement string metric type for Python bindings

* Add docs
2019-11-08 11:28:29 -05:00
Michael Droettboom 0b2f2ceea6
1591188: Implement metrics.yaml/pings.yaml loader for Python bindings (#450)
* 1591188: Implement metrics.yaml/pings.yaml loader for Python bindings

* Address comments in the PR
2019-11-07 11:57:54 -05:00
Michael Droettboom 98963c3c0a
Document counter metric for Python (#451) 2019-11-07 07:53:25 -05:00
Michael Droettboom 1f06101e4d
Share metrics.yaml and pings.yaml content across platforms. (#448)
* Share metrics.yaml and pings.yaml content across platforms.

This will be really handy as we add our third platform (Python).

This also adds a metric for `glean.error.invalid_state`, which wasn't added
when that feature was implemented.  (Missed because that metric is generated
"manually", but we still should have it in the metrics.yaml for documentation
purposes).

* Add correct data review link

* Correct typo.
2019-11-06 13:46:02 -05:00
Michael Droettboom 10ce93001c
1593056: Implement testGetNumRecordedErrors for iOS (#438)
* 1593056: Implement testGetNumRecordedErrors for iOS

* Update glean-core/ios/GleanTests/Metrics/TimingDistributionMetricTests.swift

Co-Authored-By: Travis Long <tlong@mozilla.com>

* Attempt to fix test
2019-11-05 13:22:52 -05:00
Michael Droettboom ddc0ada0e3
Implement counter metric type for Python bindings. (#439)
* Implement counter metric type for Python bindings.

It's pretty helpful to have type annotations for the documentation, if nothing
else, so additionally, this adds support for mypy type annotations.

* Simplify CircleCI task name

* Add a bug number
2019-11-05 11:05:06 -05:00
Michael Droettboom cf7ede1a94
WIP: 1591185: Set up basic Python project structure (#423)
* 1591185: Set up basic Python project structure

* Fix typo

* Clarify

* Correct emails

* Add docstrings

* Don't raise exception on no handle

* Handle shared objects on multiple platforms

* Improve docstring

* Fix __version__

* Attempt to fix on Windows
2019-11-04 13:18:03 -05:00
Michael Droettboom 6f5259ea6d 1593055: Add testGetNumRecordedErrors to labeled metrics 2019-11-01 10:16:42 -04:00
Michael Droettboom 2536903087
Expose testGetNumRecordedErrors (#401) 2019-11-01 09:19:41 -04:00
Michael Droettboom f40897af22
1541820: Implement a Gradle plugin for Glean (#421)
* 1541820: Implement a Gradle plugin for Glean

* Address comments in the PR

* Backport 382cb4b

* Fix path to plugin

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

Co-Authored-By: Travis Long <tlong@mozilla.com>

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

Co-Authored-By: Travis Long <tlong@mozilla.com>

* Fix documentation nit
2019-10-31 08:13:56 -04:00
Jan-Erik Rediger fe47b4121f Link to both standard distribution metric types
(and fix stray closing-parenthesis)
2019-10-31 10:22:23 +01:00
Jan-Erik Rediger 0a8b0e7c95 Implement String List metric for Swift 2019-10-30 09:04:47 +01:00
Travis Long 7c20f191b2 1582479 - Document Glean crash capabilities as a focused use-case 2019-10-29 08:52:58 -05:00
Jan-Erik Rediger 76239c8062 Document how to use Mozilla's maven repository
[doc only]
2019-10-28 14:31:35 +01:00
Jan-Erik Rediger ebd3200146
Merge pull request #413 from mdboom/single-implementation
Remove unnecessary mentions of "legacy" glean-ac.
2019-10-25 13:04:01 +02:00
Michael Droettboom 8fb3f1c3d7 Remove unnecessary mentions of "legacy" glean-ac.
Also adds our newest team member, brizental.
2019-10-24 12:50:24 -04:00
Jan-Erik Rediger e06653e1ac Record new error type "invalid state" to accurately describe the error
CAUTION: This might change error reporting for existing metrics.
2019-10-24 15:44:28 +02:00
Jan-Erik Rediger d3bdc9a3b5
Prepare for next release cycle (#408)
Prepare for next release cycle
2019-10-24 15:42:34 +02:00
Michael Droettboom 345288b354
1588452: Don't crash TimingDistribution.start() prior to Glean.init (#400)
* 1588452: Don't crash TimingDistribution.start() prior to Glean.init

* iOS fixes

* Add docs

* Fix docs, update CHANGELOG
2019-10-24 09:20:47 -04:00
Jan-Erik Rediger 03a77c7d0e Document pre-release bumping in release process 2019-10-24 15:04:27 +02:00
Michael Droettboom 8252e2f997 1589677: Fix jumping around when switching language tabs 2019-10-21 08:26:07 -04:00
Jan-Erik Rediger 891e9df38f Split 'Get started' into Android and iOS parts
[doc only]
2019-10-18 15:02:52 +02:00
Jan-Erik Rediger a2bcaee197 Testing examples for both languages
[doc only]
2019-10-18 15:02:52 +02:00
Jan-Erik Rediger 83f7b19203 Add case inflection examples for both languages
[doc only]
2019-10-18 15:02:52 +02:00
Jan-Erik Rediger 491790d33a Mention that Experiments are not yet supported on iOS
[doc only]
2019-10-18 15:02:37 +02:00
Jan-Erik Rediger ece77688e6 Use correct path for GleanTimerId in docs
[doc only]
2019-10-18 15:02:37 +02:00
Jan-Erik Rediger 879a67c660 Link to Swift API reference for every metric type
[doc only]
2019-10-18 15:02:37 +02:00
Jan-Erik Rediger d27e4ce99e
Merge pull request #381 from mozilla/rename-debugactivity-in-docs
Use glean-core specific full path for debug activity in the docs
2019-10-17 15:15:50 +02:00
Jan-Erik Rediger 545ff8d011
Add missing Swift docs for UUID (#387)
Add missing Swift docs for UUID
2019-10-17 15:13:20 +02:00
Jan-Erik Rediger dff752320f Bug 1587110 - Correct path for import statement
[doc only]
2019-10-17 14:04:24 +02:00
Jan-Erik Rediger 748f917d9b Bug 1587149 - Inline expire date, it's not a list
[doc only]
2019-10-17 14:04:15 +02:00
Jan-Erik Rediger 4fbb07533b Add missing Swift docs for UUID
[doc only]
2019-10-17 13:59:55 +02:00
Travis Long 4f1040f696 1584203 - Document how to build against a specific version of Glean 2019-10-16 10:32:51 -05:00
Jan-Erik Rediger 1af190b4ca Add note about the old name 2019-10-16 16:45:40 +02:00
Jan-Erik Rediger c87fffac90 Use glean-core specific full path for debug activity in the docs
BREAKING CHANGE:

When used through Android Components,
previously users had to use the `mozilla.components.service.glean.debug.GleanDebugActivity` name.

It's now required to use `mozilla.telemetry.glean.debug.GleanDebugActivity``

[doc only]
2019-10-16 16:07:45 +02:00
Jan-Erik Rediger d5311e5b72
Implement memory distribution in Swift (#375)
Implement memory distribution in Swift
2019-10-14 16:01:57 +02:00
Jan-Erik Rediger 79d64c53cd
Implement timing distribution in Swift (#369)
Implement timing distribution in Swift
2019-10-14 15:49:32 +02:00
Jan-Erik Rediger c12b545495 Implement memory distribution in Swift 2019-10-14 15:48:18 +02:00
Jan-Erik Rediger 7b518f525a Implement timing distribution in Swift 2019-10-14 15:38:10 +02:00
Michael Droettboom 64dd7c4faf
1575049: Document how to remove metrics (#371)
* 1575049: Document how to remove metrics

* Add link to custom pings docs
2019-10-14 08:53:18 -04:00
Michael Droettboom d2e73e3267 [doc only] 1583511: Document the directory structure 2019-10-14 10:55:19 +02:00
Jan-Erik Rediger 3c1f448b52 Upgrade to Android NDK r20
Now there's no need to generate Android toolchains anymore.
2019-10-09 15:13:28 +02:00
Michael Droettboom 4fc6f83a12
Fix typo (#362) 2019-10-08 15:05:09 -04:00
Alessio Placitelli 76a3be9367
Merge pull request #354 from Dexterp37/generate_glean_autodocs
Generate glean autodocs
2019-10-08 15:49:03 +02:00
Alessio Placitelli 0bb22ae5e6 Bump glean_parser version to 1.9.2 2019-10-08 15:18:26 +02:00
Jan-Erik Rediger 1bcddc5d6f
Add documentation for iOS development & review (#342)
Add documentation for iOS development & review
2019-10-08 15:12:32 +02:00
Alessio Placitelli c0a617eddf Link metrics in the Glean docs 2019-10-08 10:42:47 +02:00
Alessio Placitelli 68c98e9b30 Rename the metrics docs directory to 'collected-metrics' 2019-10-08 10:42:47 +02:00
Alessio Placitelli 1b08384da1 Commit the generated docs 2019-10-08 10:42:41 +02:00
Jan-Erik Rediger 7ccbfb51e2 Document additional tools for iOS development
[doc only]
2019-10-07 14:55:21 +02:00
Jan-Erik Rediger f6127db8fa Mention `make` commands in contribution guidelines
[doc only]
2019-10-07 14:55:21 +02:00
Jan-Erik Rediger 61cab7f2fc Clean up makefile and separate into logical categories
[doc only]
2019-10-07 14:55:21 +02:00
Jan-Erik Rediger 0664c20967
Document the (current) release process (#343)
Document the (current) release process
2019-10-07 11:03:20 +02:00
Michael Droettboom d5ea36bd5d [doc only] Update documentation about bug references. 2019-10-04 12:12:40 -04:00
Jan-Erik Rediger 09233cbf64 Name the full command.
[doc only]
2019-10-03 20:51:09 +02:00
Jan-Erik Rediger 77c8ccbeef Link to Swift API docs
[doc only]
2019-10-03 20:51:09 +02:00
Jan-Erik Rediger 78b1252c64 Mention how to run swift tests
[doc only]
2019-10-03 20:51:09 +02:00
Jan-Erik Rediger 078196bb51 Describe iOS build env setup
[doc only]
2019-10-03 20:51:09 +02:00
Jan-Erik Rediger 942493e651
Update docs/dev/cut-a-new-release.md
Co-Authored-By: Michael Droettboom <mdboom@gmail.com>
2019-10-03 17:22:43 +02:00