UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

20 lines (19 loc) 865 B
import type { ResolvedCliOptions } from '../config/cli-options'; /** Retrieve default index html snippet */ export declare function defaultIndexHtml(): string; export type ShimScriptOptions = { appId: string; appName: string; appVersion: string; environmentUrl: string; language?: string; regionalFormat?: string; }; /** Generate the sdk shim */ export declare function sdkWebShim(options: ShimScriptOptions, cwd: string): any; /** Generate the self monitoring config object from the platform prefix */ export declare function selfmonAgentConfig(platformPrefix: string): string; /** Load the self monitoring agent script from configured agent url */ export declare function selfmonAgentScript(url: string): Promise<string>; /** Generate socketUrl Script */ export declare function getWebSocketUrlScript(options: ResolvedCliOptions): string;