Skip to content

Commit

Permalink
Tembo integration: Fix setting of system info type (#524)
Browse files Browse the repository at this point in the history
Whilst this was added to the snapshot protobuf, we were
not correctly setting this.
  • Loading branch information
lfittl authored Mar 28, 2024
1 parent ffbac82 commit 778e681
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 329 deletions.
2 changes: 2 additions & 0 deletions input/system/tembo/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ type Metric struct {

// GetSystemState - Gets system information for a Tembo Cloud instance
func GetSystemState(config config.ServerConfig, logger *util.Logger) (system state.SystemState) {
system.Info.Type = state.TemboSystem

headers := map[string]string{
"Authorization": "Bearer " + config.TemboAPIToken,
"accept": "application/json",
Expand Down
Loading

0 comments on commit 778e681

Please sign in to comment.