Comments (3)
https://mozilla.github.io/glean_parser/metrics-yaml.html
documents category name limit as 40, and individual name metrics as 30.
Which 'navigation: time_to_non_blank_paint' conforms to. So, maybe something else here?
from glean.
40 category name + 88 individual metric name == 128 total length limit, which has a nice ring to it
from glean.
For the current m-c gecko tree, the longest name in the Histograms.json file is:
'CACHE_SERVICE_LOCK_WAIT_MAINTHREAD_NSCACHEENTRYDESCRIPTOR_DOOMANDFAILPENDINGREQUESTS'which is 84 characters long, not including glean's category. It seem as if a 100 character name limit should be sufficient, but if there is a hard limit please document that in end-user docs.
This is exactly the kind of naming we're actively trying to discourage :) While I think we should investigate the discrepancy between what the docs say (filed this bug), I don't think we should go beyond 30 characters for metric names. Closing the issue here, let's take the conversation to that bug.
from glean.
Related Issues (20)
- Add API to suppress logging on multiple `initialization` calls HOT 1
- Failure to install with system python on macos HOT 1
- Execution failed for task ':app:gleanGenerateMetricsDocsForDebug'. > Glean documentation generation failed. HOT 7
- Support Alpine Linux HOT 9
- glean might report incomplete/misleading `locale` in `client_info` HOT 1
- Run taskgraph CI with Python 3 HOT 1
- Simulator can be confusing wrt supplied data and unitless display
- Bump `rust-android-gradle` to version 0.9.0+ HOT 2
- java.lang.UnsatisfiedLinkError: Error looking up function 'glean_enable_logging': undefined symbol: glean_enable_logging HOT 3
- Events ping instantiated with wrong name HOT 1
- org.gradle.api.GradleException: Glean code generation failed
- Labelled Counters documentation is confusing with respect to limits HOT 1
- Chain of Trust errors on signing tasks HOT 10
- Expose an API to disable glean-managed pings. HOT 1
- Add support for sending a deletion request when a client opts out of data collection HOT 1
- nanos/millis confusion in event timestamp? HOT 8
- Import issue in Python documentation
- Documentation for Python SDK uses outdated API HOT 1
- Error when using locally-published Glean in Fenix HOT 1
- Increases Firefox iOS binary size by 10% HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glean.