Update go dependencies
This commit is contained in:
parent
14a9e9f3fa
commit
14f4a7b8e8
1349 changed files with 128369 additions and 32627 deletions
7
vendor/contrib.go.opencensus.io/exporter/ocagent/nodeinfo.go
generated
vendored
7
vendor/contrib.go.opencensus.io/exporter/ocagent/nodeinfo.go
generated
vendored
|
|
@ -21,7 +21,12 @@ import (
|
|||
"go.opencensus.io"
|
||||
)
|
||||
|
||||
func createNodeInfo(nodeName string) *commonpb.Node {
|
||||
// NodeWithStartTime creates a node using nodeName and derives:
|
||||
// Hostname from the environment
|
||||
// Pid from the current process
|
||||
// StartTimestamp from the start time of this process
|
||||
// Language and library information.
|
||||
func NodeWithStartTime(nodeName string) *commonpb.Node {
|
||||
return &commonpb.Node{
|
||||
Identifier: &commonpb.ProcessIdentifier{
|
||||
HostName: os.Getenv("HOSTNAME"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue