stats

package
v24.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package stats handles defining bot framework metrics

Index

Constants

View Source
const (
	RawMessageCount               = "raw_request_ct"
	RawMessagesSentCount          = "raw_messages_sent_ct"
	InteractionResponsesCount     = "interaction_responses_ct"
	InteractionAutocompletesCount = "interaction_autocompletes_ct"
	InteractionDeferralsCount     = "interaction_deferrals_ct"
	MessagesPostedCount           = "messages_posted_ct"
	RawEventsCount                = "raw_events_ct"
	OpCodesCount                  = "opcode_events_ct"
)

Known metric names

View Source
const (
	TagStatus    = "status"
	TagEventName = "event_name"
	TagOpCode    = "op_code"
)

Known metric tag names

Variables

This section is empty.

Functions

func IncCounter

func IncCounter(ctx context.Context, t *telemetry.Telemeter, pkg, name string, v int64, tags ...telemetry.KeyValue) error

IncCounter increments a counter with the given value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL