easemonitormetrics

package
v2.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package easemonitormetrics provides EaseMonitorMetrics.

Index

Constants

View Source
const (
	// Category is the category of EaseMonitorMetrics.
	Category = supervisor.CategoryBusinessController

	// Kind is EaseMonitorMetrics kind.
	Kind = "EaseMonitorMetrics"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EaseMonitorMetrics

type EaseMonitorMetrics struct {
	// contains filtered or unexported fields
}

EaseMonitorMetrics is Object EaseMonitorMetrics.

func (*EaseMonitorMetrics) Category

Category returns the category of EaseMonitorMetrics.

func (*EaseMonitorMetrics) Close

func (emm *EaseMonitorMetrics) Close()

Close closes EaseMonitorMetrics.

func (*EaseMonitorMetrics) DefaultSpec

func (emm *EaseMonitorMetrics) DefaultSpec() interface{}

DefaultSpec returns the default spec of EaseMonitorMetrics.

func (*EaseMonitorMetrics) Inherit

func (emm *EaseMonitorMetrics) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)

Inherit inherits previous generation of EaseMonitorMetrics.

func (*EaseMonitorMetrics) Init

func (emm *EaseMonitorMetrics) Init(superSpec *supervisor.Spec)

Init initializes EaseMonitorMetrics.

func (*EaseMonitorMetrics) Kind

func (emm *EaseMonitorMetrics) Kind() string

Kind returns the kind of EaseMonitorMetrics.

func (*EaseMonitorMetrics) Status

func (emm *EaseMonitorMetrics) Status() *supervisor.Status

Status returns status of EtcdServiceRegister.

type KafkaSpec

type KafkaSpec struct {
	Brokers []string `json:"brokers" jsonschema:"required,uniqueItems=true"`
	Topic   string   `json:"topic" jsonschema:"required"`
}

KafkaSpec is the spec for kafka producer.

type Spec

type Spec struct {
	Kafka *KafkaSpec `json:"kafka" jsonschema:"required"`
}

Spec describes the EaseMonitorMetrics.

type Status

type Status struct {
	Health string `json:"health"`
}

Status is the status of EaseMonitorMetrics.

Jump to

Keyboard shortcuts

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