Documentation ¶
Overview ¶
Package bbmetrics contains metric related models shared between LUCI services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderTarget ¶
type BuilderTarget struct { // Project is the LUCI project of the Builder. Project string // Bucket is the bucket name of the Builder. Bucket string // Builder is the name of the Builder. Builder string // ServiceName is the reporting service name. // // For a GAE app, typically, it will be the GAE application name. ServiceName string // JobName is the reporting service name. // // For a GAE app, typically, it will be the module name of the GAE // application. JobName string // InstanceID is the ID of the reporting instance. // // For a GAE app, typically, it will be the GAE host name. InstanceID string }
BuilderTarget is a metric target that represents a LUCI Builder.
func (*BuilderTarget) Clone ¶
func (b *BuilderTarget) Clone() types.Target
Clone returns a deep copy.
func (*BuilderTarget) Hash ¶
func (b *BuilderTarget) Hash() uint64
Hash computes a hash of the Builder object.
func (*BuilderTarget) PopulateProto ¶
func (b *BuilderTarget) PopulateProto(d *tsmonpb.MetricsCollection)
PopulateProto populates root labels into the proto for the target fields.
func (*BuilderTarget) Type ¶
func (b *BuilderTarget) Type() types.TargetType
Type returns the metric type identification.
Click to show internal directories.
Click to hide internal directories.