Skip to content

Commit b1bddd9

Browse files
Tusharjamdadeskoeva
authored andcommitted
prometheus: Add support for external Prometheus URLs
Co-authored-by: Tusharjamdade <tusharnjamdade@gmail.com> Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
1 parent b0121f2 commit b1bddd9

24 files changed

+394
-194
lines changed

prometheus/locales/cs/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/de/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/en/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "Connection failed: {{ errorMessage }}",
6464
"Enable Metrics": "Enable Metrics",
6565
"Auto detect": "Auto detect",
66-
"Prometheus Service Address": "Prometheus Service Address",
67-
"Invalid format. Use: namespace/service-name:port": "Invalid format. Use: namespace/service-name:port",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port",
66+
"Prometheus Address": "Prometheus Address",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "Invalid format. Use: namespace/service-name:port or https://prometheus.example.com",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.",
6969
"Test Connection": "Test Connection",
70-
"Prometheus Service Subpath": "Prometheus Service Subpath",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.",
70+
"Prometheus Subpath": "Prometheus Subpath",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.",
7272
"Default Timespan": "Default Timespan",
7373
"Default Resolution": "Default Resolution",
7474
"Select Cluster": "Select Cluster",

prometheus/locales/es/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/fr/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/hu/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/id/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/it/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/ja/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

prometheus/locales/ko/translation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
"Connection failed: {{ errorMessage }}": "",
6464
"Enable Metrics": "",
6565
"Auto detect": "",
66-
"Prometheus Service Address": "",
67-
"Invalid format. Use: namespace/service-name:port": "",
68-
"Address of the Prometheus Service, only used when auto-detection is disabled. Format: namespace/service-name:port": "",
66+
"Prometheus Address": "",
67+
"Invalid format. Use: namespace/service-name:port or https://prometheus.example.com": "",
68+
"Prometheus address. Used only when auto-detection is disabled. Examples: namespace/service-name:port or https://prometheus.example.com. External URLs require CORS to be enabled on the Prometheus server.": "",
6969
"Test Connection": "",
70-
"Prometheus Service Subpath": "",
71-
"Optional subpath to the Prometheus Service endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
70+
"Prometheus Subpath": "",
71+
"Optional subpath to the Prometheus endpoint. Only used when auto-detection is disabled. Examples: 'prometheus'.": "",
7272
"Default Timespan": "",
7373
"Default Resolution": "",
7474
"Select Cluster": "",

0 commit comments

Comments
 (0)