restexporter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() exporter.Factory

Types

type Config

type Config struct {
	// 設定フィールドをここに記述
	Endpoint string `mapstructure:"endpoint"`
}

Config holds the configuration for the REST exporter.

type MetricDetail

type MetricDetail struct {
	Name        string `json:"name"`
	Type        string `json:"type"`
	HostName    string `json:"hostname"`
	ServiceName string `json:"sercicename"`
}

type MetricKey

type MetricKey struct {
	ServiceName string
	HostName    string
	MetricName  string
}

type MetricValue

type MetricValue struct {
	ResourceMetrics pmetric.Metric
	Timestamp       time.Time
}

Jump to

Keyboard shortcuts

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