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

fix: add telemetry slug for additional file exts #21522

Merged
merged 3 commits into from
May 20, 2021

Conversation

williamhbaker
Copy link
Contributor

Closes #21517

This will cause requests for ttf, woff, and eot files to have the file name also replaced by a slug for telemetry reporting purposes to manage cardinality. For example: requests for /35bb8d560d.ttf or /anythingelse.ttf will both be reported as /:file_name.ttf.

Behavior for most files of this nature was already handled by #21158, but ttf files were missed in that implementation, so this PR is merely adding that file extension to the list. woff and eot files may not be accessed often (if ever), but I added those to the list as well since they are given hashed-based names by UI builds.

@williamhbaker williamhbaker changed the title fix: add telemetry slug for ttf files fix: add telemetry slug for additional file exts May 20, 2021
@williamhbaker williamhbaker merged commit fee3c46 into master May 20, 2021
@williamhbaker williamhbaker deleted the wb-ttf-slug-21517 branch May 20, 2021 13:37
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.

Telemetry: replace unique ids for resources with a slug
2 participants