github.com/newrelic/go-agent@v3.26.0+incompatible/version.go (about)

     1  // Copyright 2020 New Relic Corporation. All rights reserved.
     2  // SPDX-License-Identifier: Apache-2.0
     3  
     4  package newrelic
     5  
     6  import (
     7  	"runtime"
     8  
     9  	"github.com/newrelic/go-agent/internal"
    10  )
    11  
    12  const (
    13  	major = "2"
    14  	minor = "16"
    15  	patch = "4"
    16  
    17  	// Version is the full string version of this Go Agent.
    18  	Version = major + "." + minor + "." + patch
    19  )
    20  
    21  func init() {
    22  	internal.TrackUsage("Go", "Version", Version)
    23  	internal.TrackUsage("Go", "Runtime", "Version", internal.MinorVersion(runtime.Version()))
    24  }