Comments (4)
Is it safe to assume that once a label has occupied a certain index in the array, no other label can occupy that same index?
Hypothetical example:
Version 70 has: labels = ["foo", "bar"]
Version 71 adds a new label: labels = ["foo", "bar", "baz"]
Version 72 removes a label, would that be: 1) labels = ["bar", "baz"]
or 2) labels = [null, "bar", "baz"]
?
On the currently in-development metrics dashboard, the aggregated categorical histograms have no labels and look something like:
{
"0": 0.123,
"1": 0.234,
"2", 0.345
}
I'm using the key of the histogram data and matching it up with the index of the labels to assign the proper labels to the histograms.
If option (1) is the case, this will need to be smarter and know that the aggregated histogram was for a specific version and assign the labels that existed for that version.
If option (2) is the case, we could strip the k/v pairs that don't have a non-null value in the labels array.
Either way I think I've convinced myself that the naive approach I took on first attempt is not sufficient and will need to be aware of changing labels between versions.
from glean-dictionary.
This would indeed be a problem for the current desktop telemetry system. However, for Glean, labeled metrics don't really have a concept of an index. They are sent and stored in tables as full strings.
from glean-dictionary.
Guessing this would be an example of a labeled metric:
http://localhost:5000/#!/apps/firefox-reality/metrics/history_sync.failure_reason
from glean-dictionary.
Part of solving this would be figuring out how to make glean dictionary render historical data, which is something we haven't really scoped out yet.
from glean-dictionary.
Related Issues (20)
- `includes_client_id` probably ought to be exposed in ping details pages
- Add "i" information link for "Sampled" column on metric list page HOT 3
- Metric detail page shows "undefined" for some metric sampling configurations
- play_store_attribution.install_referrer_response Missing Looker Link
- Make Server Knobs configuration snippet copy button more obvious
- Probe queries can return apparently unrelated probes
- Consider adding metric name to page title HOT 3
- pytest >= 8 breaks tests (`PytestDeprecationWarning`)
- Experiment data for Fenix metric sampling isn't being picked up from Experiment API
- Add a way to document OHTTP pings, and support their lack of metadata
- Not all event metrics on "events" pings get event monitoring dashboard links
- Change autogenerated SQL to use `events_stream` tables
- Events stream queries should filter on sample_id
- [feature] App-specific debug instruction
- Reevaluate data_sensitivity handling and impact on downstream tools
- Implement a cookie banner
- Update searchfox links for Android to point to mozilla-central
- Consider hiding or annotating metrics sent in pings not defined in the application
- Application Services hosted libraries do not get the correct search path generated in the searchfox query for mobile applications
- Pings with `include_client_id: false` still list the glean-core `client_id` `uuid` metric in their metrics list
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-dictionary.