14 lines
315 B
Plaintext
14 lines
315 B
Plaintext
# list the last `limit` traces. filtering out traces with less than 100 spans
|
|
export def main [limit:int=1000] {
|
|
http get $"http://lyssa:9411/api/v2/traces?limit=($limit)"
|
|
| filter noice traces
|
|
}
|
|
|
|
export def "tags of" [span:string] {
|
|
|
|
}
|
|
|
|
def "filter noice traces" [] {
|
|
where {|t| ($t | length) > 100}
|
|
}
|