forked from K-Phoen/backstage-plugin-opsgenie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.d.ts
38 lines (35 loc) · 1.16 KB
/
config.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
export interface Config {
opsgenie: {
/**
* Domain used by users to access Opsgenie web UI.
* Example: https://my-app.app.eu.opsgenie.com/
* @visibility frontend
*/
domain: string;
/**
* Path to use for requests via the proxy, defaults to /opsgenie/api
* @visibility frontend
*/
proxyPath?: string;
/**
* Enables "read-only" mode on the plugin. In this mode, actions such as acknowledging or closing an alert will be disabled.
* Enable this if you only want to expose Opsgenie-originated information or if the API token you use has only read permissions.
*
* @visibility frontend
*/
readOnly?: boolean;
/**
* Configuration options used to generate analytics graphs
* @visibility frontend
*/
analytics?: {
/** @visibility frontend */
businessHours?: {
/** @visibility frontend */
start: number; // 24h format
/** @visibility frontend */
end: number; // 24h format
};
};
}
}