-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ATOR-240 - Add relay search endpoint #5
Conversation
@@ -10,9 +11,11 @@ const vmService = new VictoriaMetricsService(process.env.VICTORIA_METRICS_ADDRES | |||
|
|||
const CLUSTER = process.env.CLUSTER ?? 'local'; | |||
const ENV = process.env.ENV ?? 'main'; | |||
const ONIONOO_INSTANCE = process.env.ONIONOO_INSTANCE ?? '10.1.244.1:9190'; | |||
const ONIONOO_INSTANCE = process.env.ONIONOO_INSTANCE ?? '10.1.244.1:9090'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change it to the ONIONOO_BASE_URL
and pass full URL, not just hostname and port?
So in case onionoo endpoint changes to https, we won't need to make new PR of metrics-service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it is used in two separate places.
What I can do is add protocol as en var.
ATOR-240 - Add relay search endpoint (#5)
No description provided.