Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHubClient ¶
type EventHubClient struct {
// contains filtered or unexported fields
}
EventHubClient sends Prometheus samples to Event Hubs
func NewClient ¶
func NewClient(cfg *EventHubConfig) (*EventHubClient, error)
NewClient creates a new event hub client
func (*EventHubClient) Close ¶
func (c *EventHubClient) Close(ctx context.Context) error
Close shuts down an any active connections
func (*EventHubClient) Name ¶
func (c *EventHubClient) Name() string
Name identifies the client path
func (*EventHubClient) ResetConfig ¶ added in v0.4.4
func (c *EventHubClient) ResetConfig(cfg *EventHubConfig) error
type EventHubConfig ¶
type EventHubConfig struct { Namespace string Hub string KeyName string KeyValue string ConnString string TenantID string ClientID string ClientSecret string CertPath string CertPassword string PartKeyLabel string Batch bool ADXMapping string Serializer serializers.SerializerConfig }
EventHubConfig for an Event Hub
Click to show internal directories.
Click to hide internal directories.