Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
{ "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "title": "Radial Duration Chart per Method", "data": { "url": { "%context%": true, "%timefield%": "@timestamp", "index": "logs-*", "body": { "size": 0, "aggs": { "methods": { "terms": { "field": "method", "size": 20 }, "aggs": { "avg_duration": { "avg": { "field": "duration_ms" } } } } } } }, "format": { "property": "aggregations.methods.buckets" } }, "transform": [ { "calculate": "datum.key", "as": "method" }, { "calculate": "datum.avg_duration.value", "as": "duration" }, { "filter": "isValid(datum.duration)" } ], "mark": { "type": "arc", "innerRadius": 40, "stroke": "#fff" }, "encoding": { "theta": { "field": "duration", "type": "quantitative", "stack": true, "title": "Avg duration" }, "radius": { "field": "duration", "type": "quantitative", "scale": { "domainMin": 0 }, "title": "Avg duration (ms)" }, "color": { "field": "method", "type": "nominal", "scale": { "scheme": "tableau10" } }, "tooltip": [ { "field": "method", "title": "Method" }, { "field": "duration", "title": "Avg duration (ms)", "format": ".2f" } ] } }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)