metrics

package
v0.114.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright The OpenTelemetry Authors SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	MemoryPoolInitName      = "jvm.memory.init"
	MemoryPoolMaxName       = "jvm.memory.max"
	MemoryPoolUsedName      = "jvm.memory.used"
	MemoryPoolCommittedName = "jvm.memory.committed"
	ThreadCountName         = "jvm.thread.count"
	CPUUtilizationName      = "jvm.cpu.recent_utilization"
)

Variables

This section is empty.

Functions

func SwMetricsToMetrics

func SwMetricsToMetrics(collection *agent.JVMMetricCollection) pmetric.Metrics

Types

type Receiver

type Receiver struct {
	agent.UnimplementedJVMMetricReportServiceServer
	// contains filtered or unexported fields
}

func NewReceiver

func NewReceiver(nextConsumer consumer.Metrics, set receiver.Settings) (*Receiver, error)

NewReceiver creates a new Receiver reference.

func (*Receiver) Collect

func (r *Receiver) Collect(ctx context.Context, jvmMetricCollection *agent.JVMMetricCollection) (*common.Commands, error)

Collect implements the service Collect traces func.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL