@tolinax/ayoune-interfaces 2024.4.31 → 2024.4.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,21 @@ interface JaegerConfig {
80
80
  agent_host: string;
81
81
  agent_port: number;
82
82
  }
83
+ interface GlobalConfig {
84
+ scrape_interval?: string;
85
+ scrape_timeout?: string;
86
+ scrape_protocols?: string[];
87
+ evaluation_interval?: string;
88
+ external_labels?: Record<string, string>;
89
+ query_log_file?: string;
90
+ body_size_limit?: string | number;
91
+ sample_limit?: number;
92
+ label_limit?: number;
93
+ label_name_length_limit?: number;
94
+ label_value_length_limit?: number;
95
+ target_limit?: number;
96
+ keep_dropped_targets?: number;
97
+ }
83
98
  export interface IPrometheusConfig extends IDefaultFields {
84
99
  _id: string;
85
100
  archived: boolean;
@@ -105,19 +120,7 @@ export interface IPrometheusConfig extends IDefaultFields {
105
120
  excludedMicroServices: string[];
106
121
  includeK8Deployments: boolean;
107
122
  excludedK8Deployments: string[];
108
- scrape_interval?: string;
109
- scrape_timeout?: string;
110
- scrape_protocols?: string[];
111
- evaluation_interval?: string;
112
- external_labels?: Record<string, string>;
113
- query_log_file?: string;
114
- body_size_limit?: string | number;
115
- sample_limit?: number;
116
- label_limit?: number;
117
- label_name_length_limit?: number;
118
- label_value_length_limit?: number;
119
- target_limit?: number;
120
- keep_dropped_targets?: number;
123
+ global: GlobalConfig;
121
124
  rule_files?: string[];
122
125
  scrape_config_files?: string[];
123
126
  scrape_configs?: ScrapeConfig[];
@@ -618,3 +618,4 @@ export * from "./IReportEntry";
618
618
  export * from "./ILighthouseResults";
619
619
  export * from "./IBrandBiddingInfo";
620
620
  export * from "./IImageEntry";
621
+ export * from "./IPrometheusConfig";
@@ -634,3 +634,4 @@ __exportStar(require("./IReportEntry"), exports);
634
634
  __exportStar(require("./ILighthouseResults"), exports);
635
635
  __exportStar(require("./IBrandBiddingInfo"), exports);
636
636
  __exportStar(require("./IImageEntry"), exports);
637
+ __exportStar(require("./IPrometheusConfig"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.4.31",
3
+ "version": "2024.4.33",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",