Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WrapperBuilder ¶
type WrapperBuilder interface { // Build builds monitor.Reporter Build(bricksBuilder monitor.Builder) monitor.Reporter // DoOnError is a helper function to act when receiving an error during Metric creation DoOnError(onError func(error)) WrapperBuilder // AddExtractors adds ContextExtractors that might override tag values when calling metric functions AddExtractors(extractors ...monitor.ContextExtractor) WrapperBuilder // SetTags saves defaults tags, these tags will always be included in every metric SetTags(tags monitor.Tags) WrapperBuilder }
WrapperBuilder is a helper builder to define internal Bricks monitoring wrapper
Click to show internal directories.
Click to hide internal directories.