-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
32 lines (27 loc) · 844 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package bconnector
type bEvent struct {
Data string `json:"event.data"`
TraceID string `json:"trace_id"`
SpanID string `json:"span_id"`
//EntityMetadata entityMetadata `json:"entityMetadata"`
Name string `json:"event.name"`
Domain string `json:"event.domain"`
Bt string `json:"bt.id"`
EventType string `json:"event.type"`
IsEvent bool `json:"appd.isevent"`
AppEventType string `json:"appd.event.type"`
EntityId string `json:"entity_id"`
}
type entityMetadata struct {
Type entityMetadataType `json:"type"`
}
type entityMetadataType struct {
Name string `json:"name"`
Namespace namespace `json:"namespace"`
}
type namespace struct {
Name string `json:"name"`
Version int `json:"version"`
}