Documentation ¶
Overview ¶
Package istelemetry contains telemetry functions regarding the collection of data in the IdentityServer.
Index ¶
Constants ¶
View Source
const EntityCountTaskName = "entity-count-task"
EntityCountTaskName is the name of the task that collects entity counts. This is used as the task name in the TaskQueue's callback registry.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option to apply at istelemetry initialization.
func WithHTTPClient ¶
WithHTTPClient sets the HTTP client to be used for the requests.
func WithTarget ¶
WithTarget sets the URL to which the content will be sent to.
type Task ¶
type Task interface { // Validate determines if the necessary requirement to run telemetry tasks are set. Validate(ctx context.Context) error // CountEntities fetches the number of entities in the database and sends it to the target. CountEntities(ctx context.Context) error }
Task is the interface that wraps the EntitiesCountTask method.
Click to show internal directories.
Click to hide internal directories.