Tempo: TraceQL metrics step option (#89434)

* Add step option for metric queries

* Add support for compare metric queries

* Remove unneeded line

* Delete step if it's not defined
This commit is contained in:
Andre Pereira
2024-06-20 15:22:50 +01:00
committed by GitHub
parent c8f18023d3
commit fc4a9904c9
6 changed files with 40 additions and 3 deletions
@@ -129,6 +129,9 @@ type TempoQuery struct {
// Defines the maximum number of spans per spanset that are returned from Tempo
Spss *int64 `json:"spss,omitempty"`
// For metric queries, the step size to use
Step *string `json:"step,omitempty"`
// The type of the table that is used to display the search results
TableType *SearchTableType `json:"tableType,omitempty"`
}