Documentation ¶
Overview ¶
Package metrics is a generated protocol buffer package.
It is generated from these files:
server/pkg/metrics/metrics.proto
It has these top-level messages:
Metrics
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommits ¶
func AddCommits(num int64)
func AddPipelines ¶
func AddPipelines(num int64)
func ReportMetrics ¶
func ReportMetrics()
Types ¶
type Metrics ¶
type Metrics struct { Repos int64 `protobuf:"varint,1,opt,name=repos" json:"repos,omitempty"` Commits int64 `protobuf:"varint,2,opt,name=commits" json:"commits,omitempty"` Files int64 `protobuf:"varint,3,opt,name=files" json:"files,omitempty"` Bytes int64 `protobuf:"varint,4,opt,name=bytes" json:"bytes,omitempty"` Jobs int64 `protobuf:"varint,5,opt,name=jobs" json:"jobs,omitempty"` Pipelines int64 `protobuf:"varint,6,opt,name=pipelines" json:"pipelines,omitempty"` }
func (*Metrics) Descriptor ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.