package
0.2.0
Repository: https://github.com/mier85/go-sensor.git
Documentation: pkg.go.dev

# Functions

NewAWSLambdaPluginPayload returns payload for the AWS Lambda plugin of Instana acceptor.
NewDockerBlockIOStatsDelta sums up block I/O reads and writes and calculates the difference between two stat snapshots.
NewDockerCPUStatsDelta calculates the difference between two CPU usage stats.
NewDockerMemoryStatsUpdate returns the fields that have been updated since the last measurement.
NewDockerNetworkAggregatedStatsDelta calculates the aggregated difference between two snapshots of network interface stats.
NewDockerPluginPayload returns payload for the Docker plugin of Instana acceptor.
NewECSContainerPluginPayload returns payload for the ECS container plugin of Instana acceptor.
NewECSTaskPluginPayload returns payload for the ECS task plugin of Instana acceptor.
NewGCRServiceRevisionInstancePluginPayload returns payload for the GCR service revision instance plugin of Instana acceptor.
NewGoProcessPluginPayload returns payload for the Go process plugin of Instana acceptor.
NewHTTPClient returns an http.Client configured for sending requests to the Instana serverless acceptor.
NewProcessCPUStatsDelta calculates the difference between two CPU usage stats.
NewProcessMemoryStatsUpdate returns the fields that have been updated since the last measurement.
NewProcessOpenFilesStatsUpdate returns the (process.ResourceLimits).OpenFiles fields that have been updated since the last measurement.
NewProcessPluginPayload returns payload for the process plugin of Instana acceptor.

# Variables

ErrMalformedProxyURL is returned by NewHTTPClient() when the INSTANA_ENDPOINT_PROXY= env var contains a malformed URL string.

# Structs

AWSContainerLimits is used to send container limits (CPU, memory) to the acceptor plugin.
DockerBlockIOStatsDelta represents the difference between two block I/O usage stats.
DockerCPUStatsDelta represents the difference between two CPU usage stats.
DockerData is a representation of a Docker container for com.instana.plugin.docker plugin.
DockerMemoryStatsUpdate represents the memory stats that have changed since the last measurement.
DockerNetworkAggregatedStatsDelta represents the difference between two network interface stats.
DockerNetworkStatsDelta represents the difference between two network interface stats.
ECSContainerData is a representation of an ECS container for com.instana.plugin.aws.ecs.container plugin.
ECSTaskData is a representation of an ECS task for com.instana.plugin.aws.ecs.task plugin.
GCRServiceRevisionInstanceData is a representation of a Google Cloud Run service revision instance for com.instana.plugin.gcp.run.revision.instance plugin.
GoProcessData is a representation of a Go process for com.instana.plugin.golang plugin.
MemoryStats represents Go runtime memory stats to be sent to com.insana.plugin.golang.
Metrics represents Go process metrics to be sent to com.insana.plugin.golang.
PluginPayload represents the Instana acceptor message envelope containing plugin name and entity ID.
ProcessCPUStatsDelta represents the CPU stats that have changed since the last measurement.
ProcessData is a representation of a running process for com.instana.plugin.process plugin.
ProcessMemoryStatsUpdate represents the memory stats that have changed since the last measurement.
ProcessOpenFilesStatsUpdate represents the open file stats and limits that have changed since the last measurement.
RuntimeInfo represents Go runtime info to be sent to com.insana.plugin.golang.