Skip to content
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

Merged
merged 8 commits into from
Apr 18, 2024

Conversation

yumirkov
Copy link
Contributor

No description provided.

@yumirkov yumirkov changed the title ATOR-240 - Add relay search endpoint [DRAFT] ATOR-240 - Add relay search endpoint Apr 15, 2024
@yumirkov yumirkov requested a review from floodcode April 15, 2024 14:57
@yumirkov yumirkov changed the title [DRAFT] ATOR-240 - Add relay search endpoint ATOR-240 - Add relay search endpoint Apr 15, 2024
@@ -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';
Copy link
Contributor

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

Copy link
Contributor Author

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.

@yumirkov yumirkov requested a review from floodcode April 16, 2024 07:35
@yumirkov yumirkov merged commit ef00213 into development Apr 18, 2024
2 checks passed
@yumirkov yumirkov deleted the feature/ATOR-240-add-relay-endpoint branch April 18, 2024 07:14
yumirkov added a commit that referenced this pull request Apr 23, 2024
ATOR-240 - Add relay search endpoint (#5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants