1.1.1 • Published 1 year ago
@okode/ngx-dynatrace v1.1.1
Dynatrace for Angular
Angular library to setup and configure Sentry projects easily on your applications.
Install
npm i @okode/ngx-dynatrace
Usage
Configure the Dynatrace Provider
import { provideDynatrace } from '@okode/ngx-dynatrace';
export const appConfig: ApplicationConfig = {
providers: [
...
provideDynatrace({
enabled: !isDevMode(), // Control monitoring
jsAgentUrl: '[YOUR_JS_AGENT_SCRIPT_URL]', // <- Go to your Dynatrace project and get the JSAgentUrl
}),
],
...
};
API
TOKENS
DYNATRACE_CONFIG
InjectionToken<DynatraceConfig>('DYNATRACE_CONFIG');
DynatraceInstrumentService
init()
DynatraceInstrumentService.init() => void
Initializes Dynatrace Agent.
Provider Functions
provideDynatrace(...)
provideDynatrace(config: DynatraceConfigProvider) => EnvironmentsProviders
Provides and initializes a Dynatrace agent.
Param | Type |
---|---|
config | DynatraceConfig | ((injector: Injector) => DynatraceConfig) |
Models
DynatraceConfig
Param | Type | Description |
---|---|---|
enabled | boolean | Habilita la instrumentación. Recomendamos desactivar la instrumentación en consntrucciones de desarrollo para no polucionar los informes de Dynatrace. |
jsAgentUrl | string | URL del agente JS de Dynatrace. Se usará para inyectar el script del agente de Dynatrace en el index.html de la aplicación. |
1.1.1
1 year ago
1.1.0
1 year ago
1.0.0-poc-multienv.0
1 year ago
1.0.0-poc-multienv.1
1 year ago
1.0.0-poc-multienv.2
1 year ago
1.0.0-poc-multienv.3
1 year ago
1.0.0
1 year ago
1.0.0-feature-nx-18.0
1 year ago
1.0.0-feature-nx-18.1
1 year ago
1.0.0-feature-nx-17.0
1 year ago
0.18.0-feature-nx-17.4
1 year ago
0.18.0-feature-nx-17.3
1 year ago
0.18.0
1 year ago
0.18.0-beta.0
1 year ago
0.17.11-feature-PF-315.0
2 years ago
0.17.11
2 years ago
0.17.10-feature-PF-315.0
2 years ago
0.17.10
2 years ago
0.17.9
2 years ago
0.17.8
2 years ago
0.17.7
2 years ago
0.17.6
2 years ago
0.17.4
2 years ago
0.17.3
2 years ago
0.17.2
2 years ago
0.17.1
2 years ago
0.15.3
2 years ago
0.15.0
2 years ago
0.13.1
2 years ago
0.13.0
2 years ago
0.12.0
2 years ago
0.11.0
2 years ago