Skip to content

Commit

Permalink
feat(BRIDGE-122): changed type; will rebase this commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroNafta committed Aug 22, 2024
1 parent 7a0a313 commit 7a61908
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions observability_types.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package proton

import "time"

type ObservabilityBatch struct {
Metrics []ObservabilityMetric `json:"Metrics"`
}

type ObservabilityMetric struct {
Name string `json:"Name"`
Version int `json:"Version"`
Timestamp time.Time `json:"Timestamp"`
Timestamp int64 `json:"Timestamp"` // Unix timestamp
Data interface{} `json:"Data"`
}

0 comments on commit 7a61908

Please sign in to comment.