UNPKG

@azure/monitor-opentelemetry

Version:
30 lines 1.04 kB
import type { TokenCredential } from "@azure/core-auth"; import type { IsSubscribedOptionalParams, IsSubscribedResponse, PublishOptionalParams, PublishResponse } from "../../../generated/index.js"; /** * Quickpulse sender class * @internal */ export declare class QuickpulseSender { private readonly quickpulseClient; private quickpulseClientOptions; private instrumentationKey; private endpointUrl; constructor(options: { endpointUrl: string; instrumentationKey: string; credential?: TokenCredential; credentialScopes?: string | string[]; }); /** * isSubscribed Quickpulse service * @internal */ isSubscribed(optionalParams: IsSubscribedOptionalParams): Promise<IsSubscribedResponse | undefined>; /** * publish Quickpulse service * @internal */ publish(optionalParams: PublishOptionalParams): Promise<PublishResponse | undefined>; handlePermanentRedirect(location: string | undefined): void; } //# sourceMappingURL=sender.d.ts.map