Skip to content

Commit

Permalink
Adding TracesURL
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyr committed Jul 8, 2021
1 parent f6f197e commit 68270cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/stack/stackList.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,5 @@ func printItem(data *stack.ListItem) {
fmt.Printf(" - URL: %s\n", data.PrometheusURL)
fmt.Println("Traces:")
fmt.Printf(" - ID: %d\n", data.TracesID)
fmt.Printf(" - URL: %s\n", data.TracesURL)
}
1 change: 1 addition & 0 deletions pkg/stack/stackList.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type ListItem struct {
LogsID int `json:"hlInstanceId"`
LogsURL string `json:"hlInstanceUrl"`
TracesID int `json:"htInstanceId"`
TracesURL string `json:"htInstanceUrl"`
AlertManagerID int `json:"amInstanceId"`
AlertManagerGeneratorURL string `json:"amInstanceGeneratorUrl"`
}
Expand Down

0 comments on commit 68270cc

Please sign in to comment.