Documentation ¶
Overview ¶
Package metrics handles reporting of identifable metrics about user code for personal and team consumption.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( NewController, )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(exporter *DeferredExporter, tiltBuild model.TiltBuild, gitRemote git.GitRemote) *Controller
func (*Controller) OnChange ¶
func (c *Controller) OnChange(ctx context.Context, rStore store.RStore, _ store.ChangeSummary) error
type DeferredExporter ¶
type DeferredExporter struct {
// contains filtered or unexported fields
}
func NewDeferredExporter ¶
func NewDeferredExporter() *DeferredExporter
func (*DeferredExporter) ExportView ¶
func (d *DeferredExporter) ExportView(viewData *view.Data)
func (*DeferredExporter) Flush ¶ added in v0.17.5
func (d *DeferredExporter) Flush()
func (*DeferredExporter) SetRemote ¶
func (d *DeferredExporter) SetRemote(remote RemoteExporter) error
func (*DeferredExporter) Stop ¶ added in v0.17.5
func (d *DeferredExporter) Stop() error
type MetricsState ¶ added in v0.17.5
type MetricsState struct {
// contains filtered or unexported fields
}
func (MetricsState) Enabled ¶ added in v0.17.5
func (s MetricsState) Enabled() bool
type RemoteExporter ¶
Click to show internal directories.
Click to hide internal directories.