Comments (4)
Thanks for the report. Can you provide a minimal reproducible example that demonstrates the issue?
from vega.
Hi domoritz,
Please use this json to debug.
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"description": "A timeline visualization of the lives of the first five U.S. presidents.",
"data": [
{
"name": "testdata",
"values": [
{
"_index": "metrics-otel-v1-2023.09.06",
"_type": "_doc",
"_id": "_YH3aIoBwqxJSF1N_aqW",
"_source": {
"kind": "SUMMARY",
"count": 5,
"flags": 0,
"description": "POC metrics for outbound request",
"sum": 7.003,
"name": "outbound_request_seconds",
"startTime": "2023-09-06T04:35:22.773Z",
"quantileValuesCount": 2,
"time": "2023-09-06T05:29:52.773Z",
"metric.attributes.pod_id": "p2"
}
},
{
"_index": "metrics-otel-v1-2023.09.06",
"_type": "_doc",
"_id": "_4H3aIoBwqxJSF1N_aqW",
"_source": {
"kind": "SUMMARY",
"count": 5,
"flags": 0,
"description": "POC metrics for outbound request",
"sum": 5.563,
"name": "outbound_request_seconds",
"startTime": "2023-09-06T05:03:22.773Z",
"quantileValuesCount": 2,
"time": "2023-09-06T05:29:52.773Z",
"metric.attributes.pod_id": "p1"
}
}
],
"transform": [
{
"type": "filter",
"expr": "datum._source.name == 'outbound_request_seconds'"
}
]
},
{
"name": "groupbyPod",
"source": "testdata",
"transform": [
{
"type": "aggregate",
"ops": [
"sum"
],
"fields": [
"_source.count"
],
"as": [
"s1"
],
"groupby": [
"_source.metric.attributes.pod_id"
]
}
]
}
]
}
from vega.
There are no marks in your sample spec. Regardless, I think you just need to escape any property names containing . with \\.
e.g. "_source\\.metric\\.attributes\\.pod_id"
from vega.
Thank you very much!
from vega.
Related Issues (20)
- Broken vega X HOT 1
- vlSelectionTest doesn't handle null values
- Support additional bandwidth estimation methods for KDEs
- Ability to get selected facet in selection handlers HOT 1
- Duplicate data point requires for strokedash HOT 3
- axis `labelAlign` manually set to left overlaps chart by default (without `layerPadding`)
- Add automatic security checks to CI
- The KDE transform creates values where there are none when used with `{"resolve": "shared"}` HOT 5
- Support for getTotalLength() HOT 3
- Zoomable grouped bar chart features
- Signal mousover event not working HOT 3
- Revisit Release Process HOT 2
- textPath
- Reactively add new marks to existing chart HOT 4
- Vega filter dataset dynamically HOT 4
- "Extent" property for Regression does not modify the regression extent and nullifies the regression. HOT 3
- Vage ordinal scale domain support group mapping to range HOT 2
- Align axes labels with ticks HOT 5
- Proposal for new `sumnull` aggregation HOT 4
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 vega.