Skip to content

Commit

Permalink
Simplify fixture data
Browse files Browse the repository at this point in the history
  • Loading branch information
gggritso committed Dec 11, 2024
1 parent f9e4183 commit 0c20277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ export default storyBook(AreaChartWidget, story => {
timeseries={[latencyTimeSeries, spanDurationTimeSeries]}
meta={{
fields: {
'avg(messaging.message.receive.latency)': 'duration',
'avg(latency)': 'duration',
'avg(span.duration)': 'duration',
},
units: {
'avg(messaging.message.receive.latency)': 'millisecond',
'avg(latency)': 'millisecond',
'avg(span.duration)': 'millisecond',
},
}}
Expand Down Expand Up @@ -137,11 +137,11 @@ export default storyBook(AreaChartWidget, story => {
]}
meta={{
fields: {
'avg(messaging.message.receive.latency)': 'duration',
'avg(latency)': 'duration',
'avg(span.duration)': 'duration',
},
units: {
'avg(messaging.message.receive.latency)': 'millisecond',
'avg(latency)': 'millisecond',
'avg(span.duration)': 'millisecond',
},
}}
Expand Down Expand Up @@ -177,11 +177,11 @@ export default storyBook(AreaChartWidget, story => {
timeseries={[sampleLatencyTimeSeries, sampleSpanDurationTimeSeries]}
meta={{
fields: {
'avg(messaging.message.receive.latency)': 'duration',
'avg(latency)': 'duration',
'avg(span.duration)': 'duration',
},
units: {
'avg(messaging.message.receive.latency)': 'millisecond',
'avg(latency)': 'millisecond',
'avg(span.duration)': 'millisecond',
},
}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"field": "avg(messaging.message.receive.latency)",
"field": "avg(latency)",
"data": [
{
"timestamp": "2024-12-09T22:00:00Z",
Expand Down

0 comments on commit 0c20277

Please sign in to comment.