UNPKG

dynatrace-data-sdk

Version:

A package to facilitate the ingestion of various data types into Dynatrace.

11 lines (10 loc) 547 B
import { SDKClient, ClientConfig } from "./types"; /** * Method for initialising the SDK client. Once initialised, it will return methods * to enable data interactions with your Dynatrace tenant * @param {ClientConfig}- Your unique tenant id and the access token generated for data interaction purpose * @returns {SDKClient} - sendLog, sendLogs, sendMetric, sendMetrics * @example * const sdkClient = init({ tenantId: 'you1234', token: '1337-k1tt3n-4prez' }); */ export declare const init: ({ tenantId, token }: ClientConfig) => SDKClient;