-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
metadata.go
30 lines (25 loc) · 1.13 KB
/
metadata.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
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.
//go:build linux
// Package metadata holds metadata related files
package metadata
import "time"
// Metadata is used to provide context about the activity dump or the profile
type Metadata struct {
AgentVersion string `json:"agent_version"`
AgentCommit string `json:"agent_commit"`
KernelVersion string `json:"kernel_version"`
LinuxDistribution string `json:"linux_distribution"`
Arch string `json:"arch"`
Name string `json:"name"`
ProtobufVersion string `json:"protobuf_version"`
DifferentiateArgs bool `json:"differentiate_args"`
Comm string `json:"comm,omitempty"`
ContainerID string `json:"-"`
Start time.Time `json:"start"`
End time.Time `json:"end"`
Size uint64 `json:"activity_dump_size,omitempty"`
Serialization string `json:"serialization,omitempty"`
}