Skip to content

Commit 816ce8a

Browse files
committed
feat: add support for external Prometheus URLs
Signed-off-by: Tusharjamdade <tusharnjamdade@gmail.com>
1 parent 4226d24 commit 816ce8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prometheus/src/components/Settings/Settings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { useEffect, useState } from 'react';
1414
* Supports namespace/service:port and HTTP/HTTPS URLs.
1515
* Examples: monitoring/prometheus:9090, https://prometheus.example.com
1616
*
17-
* @param address - The address string to validate.
18-
* @returns True if the address is valid, false otherwise.
17+
* @param {string} address - The address string to validate.
18+
* @returns {boolean} True if the address is valid, false otherwise.
1919
*/
2020
function isValidAddress(address: string): boolean {
2121
if (!address) return true;

0 commit comments

Comments
 (0)