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

feat(server): add an experimental opt-in API to enable ASN metrics #1523

Merged
merged 8 commits into from
Mar 29, 2024

Conversation

sbruens
Copy link
Contributor

@sbruens sbruens commented Mar 21, 2024

The IP-to-ASN database is provided to outline-ss-server at server startup instead of via the server config, so here we SIGTERM the process for restart when the ASN metric is enabled. Since this is only ever meant to be an experimental API, that is probably ok. We can always move it to the server config if we want to graduate the endpoint to be a stable API.

@sbruens sbruens requested review from fortuna and a team as code owners March 21, 2024 22:25
src/shadowbox/server/main.ts Outdated Show resolved Hide resolved
src/shadowbox/scripts/update_mmdb.sh Outdated Show resolved Hide resolved
src/shadowbox/scripts/update_mmdb.sh Outdated Show resolved Hide resolved
src/shadowbox/server/outline_shadowsocks_server.ts Outdated Show resolved Hide resolved
src/shadowbox/server/outline_shadowsocks_server.ts Outdated Show resolved Hide resolved
src/shadowbox/model/shadowsocks_server.ts Outdated Show resolved Hide resolved
@github-actions github-actions bot added size/L and removed size/M labels Mar 25, 2024
@sbruens sbruens requested a review from fortuna March 25, 2024 20:51
@sbruens
Copy link
Contributor Author

sbruens commented Mar 29, 2024

Cut a new outline-ss-server release at https://github.com/Jigsaw-Code/outline-ss-server/releases/tag/v1.5.0. Merging this.

@sbruens sbruens merged commit 2901a25 into master Mar 29, 2024
10 checks passed
@sbruens sbruens deleted the sbruens/asn-metrics branch March 29, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants