Documentation ¶
Overview ¶
Package config is a generated protocol buffer package.
The `circonus` adapter enables Istio to deliver metric data to the [Circonus](https://www.circonus.com) monitoring backend.
It is generated from these files:
mixer/adapter/circonus/config/config.proto
It has these top-level messages:
Params
Index ¶
- Variables
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (this *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- type Params_MetricInfo
- func (*Params_MetricInfo) Descriptor() ([]byte, []int)
- func (m *Params_MetricInfo) Marshal() (dAtA []byte, err error)
- func (m *Params_MetricInfo) MarshalTo(dAtA []byte) (int, error)
- func (*Params_MetricInfo) ProtoMessage()
- func (m *Params_MetricInfo) Reset()
- func (m *Params_MetricInfo) Size() (n int)
- func (this *Params_MetricInfo) String() string
- func (m *Params_MetricInfo) Unmarshal(dAtA []byte) error
- type Params_MetricInfo_Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") )
View Source
var Params_MetricInfo_Type_name = map[int32]string{
0: "UNKNOWN",
1: "COUNTER",
2: "GAUGE",
3: "DISTRIBUTION",
}
View Source
var Params_MetricInfo_Type_value = map[string]int32{
"UNKNOWN": 0,
"COUNTER": 1,
"GAUGE": 2,
"DISTRIBUTION": 3,
}
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { // Circonus SubmissionURL to HTTPTrap check SubmissionUrl string `protobuf:"bytes,1,opt,name=submission_url,json=submissionUrl,proto3" json:"submission_url,omitempty"` SubmissionInterval time.Duration `protobuf:"bytes,2,opt,name=submission_interval,json=submissionInterval,stdduration" json:"submission_interval"` Metrics []*Params_MetricInfo `protobuf:"bytes,3,rep,name=metrics" json:"metrics,omitempty"` }
Configuration format for the Circonus adapter.
func (*Params) Descriptor ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
type Params_MetricInfo ¶
type Params_MetricInfo struct { // name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type Params_MetricInfo_Type `protobuf:"varint,2,opt,name=type,proto3,enum=adapter.circonus.config.Params_MetricInfo_Type" json:"type,omitempty"` }
Describes how to represent a metric
func (*Params_MetricInfo) Descriptor ¶
func (*Params_MetricInfo) Descriptor() ([]byte, []int)
func (*Params_MetricInfo) Marshal ¶
func (m *Params_MetricInfo) Marshal() (dAtA []byte, err error)
func (*Params_MetricInfo) MarshalTo ¶
func (m *Params_MetricInfo) MarshalTo(dAtA []byte) (int, error)
func (*Params_MetricInfo) ProtoMessage ¶
func (*Params_MetricInfo) ProtoMessage()
func (*Params_MetricInfo) Reset ¶
func (m *Params_MetricInfo) Reset()
func (*Params_MetricInfo) Size ¶
func (m *Params_MetricInfo) Size() (n int)
func (*Params_MetricInfo) String ¶
func (this *Params_MetricInfo) String() string
func (*Params_MetricInfo) Unmarshal ¶
func (m *Params_MetricInfo) Unmarshal(dAtA []byte) error
type Params_MetricInfo_Type ¶
type Params_MetricInfo_Type int32
The type of metric.
const ( UNKNOWN Params_MetricInfo_Type = 0 COUNTER Params_MetricInfo_Type = 1 GAUGE Params_MetricInfo_Type = 2 DISTRIBUTION Params_MetricInfo_Type = 3 )
func (Params_MetricInfo_Type) EnumDescriptor ¶
func (Params_MetricInfo_Type) EnumDescriptor() ([]byte, []int)
func (Params_MetricInfo_Type) String ¶
func (x Params_MetricInfo_Type) String() string
Click to show internal directories.
Click to hide internal directories.