-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
WIP: feat(metrics): add actix-web metrics exporter #793
Draft
lefuturiste
wants to merge
16
commits into
maplibre:main
Choose a base branch
from
lefuturiste:fb_add_metrics_exporter
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
96f32e4
feat(metrics): add actix-web metrics exporter
lefuturiste 10bef25
cargo update
nyurik 47b03f6
Demo: Migrate to yarn (#770)
nyurik 8c53c27
chore(deps): Bump clap from 4.3.14 to 4.3.17 (#776)
dependabot[bot] 71041ee
update lock
nyurik 10a12d8
chore(deps): Bump clap from 4.3.17 to 4.3.19 (#779)
dependabot[bot] a261402
chore(deps): Bump async-trait from 0.1.71 to 0.1.72 (#781)
dependabot[bot] ea750ed
chore(deps): Bump thiserror from 1.0.43 to 1.0.44 (#780)
dependabot[bot] 558f2f1
update lock
nyurik 76488b6
make licensing terms more visible
nyurik 0e588a4
Add basic support for systemd (#761)
sharkAndshark 386e827
chore(deps): Bump serde_json from 1.0.103 to 1.0.104 (#783)
dependabot[bot] c502bf5
chore(deps): Bump subst from 0.2.2 to 0.2.3 (#784)
dependabot[bot] a0302e0
fix readme links
nyurik f2d21a1
Add ability to copy to existing mbtiles files (#778)
upsicleclown dc535e5
Create primary keys on metadata and tiles tables when copying with fo…
upsicleclown File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
if we start handling
/metrics
, we would have to declare this as a reserved keyword (we might be missing docs in a martin book for this). One workaround perhaps would be to add everything "magical" to the/_/metrics
style prefixes because_
is not a valid source ID i think.martin/martin/src/srv/server.rs
Lines 32 to 37 in a2acd17
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.
Right, as you wish, I'm fine with both solutions (the reserved keyword and the /_/metrics workaround). We just have to keep in mind that
/metrics
is the standard path and the default, so the second solution would mean a little bit more config on the scraper side.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.
good point about conventions (actually, didn't we talk about it elsewhere?), i'm ok to add
/metrics
to reserved then