Documentation ¶
Index ¶
- func ActivePromise(ctx context.Context)
- func Init(meter metric.Meter) error
- func Promise(ctx context.Context, err error)
- func SendEventFailure(ctx context.Context, elapsed time.Duration, inline bool, dataSize int64)
- func SendEventSuccess(ctx context.Context, elapsed time.Duration, inline bool, dataSize int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivePromise ¶
ActivePromise increases the promises.current metric. This should be called when a promise is created.
func Init ¶
Init initializes the arn sdk model metrics. This should only be called by the tattler constructor or tests.
func Promise ¶
Promise increases the promises.completed metric with timeout label. This also decrements the current promise count. This should be called on promise completion.
func SendEventFailure ¶
SendEventFailure increases the events.sent metric with success == false and records the latency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.