-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add advanced traceql tests Signed-off-by: Joe Elliott <number101010@gmail.com> * Moved searchTestSuite next to its only usage Signed-off-by: Joe Elliott <number101010@gmail.com> * update mod Signed-off-by: Joe Elliott <number101010@gmail.com> --------- Signed-off-by: Joe Elliott <number101010@gmail.com>
- Loading branch information
1 parent
2fd223b
commit 9ca4bce
Showing
5 changed files
with
494 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package trace | ||
|
||
import v1trace "github.com/grafana/tempo/pkg/tempopb/trace/v1" | ||
|
||
func StatusToString(s v1trace.Status_StatusCode) string { | ||
var status string | ||
switch s { | ||
case v1trace.Status_STATUS_CODE_UNSET: | ||
status = "unset" | ||
case v1trace.Status_STATUS_CODE_OK: | ||
status = "ok" | ||
case v1trace.Status_STATUS_CODE_ERROR: | ||
status = "error" | ||
} | ||
return status | ||
} |
Oops, something went wrong.