{"id":17673998,"url":"https://github.com/joostlek/opentelemetry-stacktrace-processor","last_synced_at":"2025-08-22T15:32:07.045Z","repository":{"id":168697297,"uuid":"644381069","full_name":"joostlek/opentelemetry-stacktrace-processor","owner":"joostlek","description":"OpenTelemetry processor for enhancing javascript stacktraces","archived":false,"fork":false,"pushed_at":"2025-08-10T13:51:28.000Z","size":217,"stargazers_count":5,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T15:41:44.207Z","etag":null,"topics":["javascript","opentelemetry","opentelemetry-collector","opentelemetry-javascript","processor","tracing","typescript"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joostlek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-23T11:57:28.000Z","updated_at":"2025-07-27T15:00:20.000Z","dependencies_parsed_at":"2023-10-23T05:29:12.957Z","dependency_job_id":"eeee839d-3e4f-42b2-a1b5-7e05f8fd2180","html_url":"https://github.com/joostlek/opentelemetry-stacktrace-processor","commit_stats":null,"previous_names":["joostlek/opentelemetry-stacktrace-processor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joostlek/opentelemetry-stacktrace-processor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joostlek%2Fopentelemetry-stacktrace-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joostlek%2Fopentelemetry-stacktrace-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joostlek%2Fopentelemetry-stacktrace-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joostlek%2Fopentelemetry-stacktrace-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joostlek","download_url":"https://codeload.github.com/joostlek/opentelemetry-stacktrace-processor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joostlek%2Fopentelemetry-stacktrace-processor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271658802,"owners_count":24798176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","opentelemetry","opentelemetry-collector","opentelemetry-javascript","processor","tracing","typescript"],"created_at":"2024-10-24T06:41:52.490Z","updated_at":"2025-08-22T15:32:06.668Z","avatar_url":"https://github.com/joostlek.png","language":"Go","readme":"# OpenTelemetry stacktrace processor\n\n[![GitHub Release][releases-shield]][releases]\n[![Go Reference](https://pkg.go.dev/badge/github.com/joostlek/opentelemetry-stacktrace-processor.svg)](https://pkg.go.dev/github.com/joostlek/opentelemetry-stacktrace-processor)\n![Project Stage][project-stage-shield]\n![Project Maintenance][maintenance-shield]\n[![License][license-shield]](LICENSE.md)\n\n[![Build Status][build-shield]][build]\n[![Code Coverage][codecov-shield]][codecov]\n[![Code Smells][code-smells]][sonarcloud]\n\nTransform stacktraces from javascript into readable stacktraces to improve OpenTelemetry usability.\n\n## About\n\nWhen collecting stacktraces from javascript based application, the stacktraces are usually based on minified or compiled code.\n\nExample:\n```\npadStart@http://localhost:4203/lineSlicer.min.js:1:228\npadStart@http://localhost:4203/cubeSlicer.min.js:1:228\n```\n\nTo be able to know where the actual problem is, you should combine this with a source map.\nCommercial tracing solutions provide ways to upload source maps to their dashboard, and they figure it out.\n\nThis processor is made so the generic OpenTelemetry collector can have the same functionality.\nPlace the source maps in a directory and the processor will read them at startup.\nThe end result:\n\n```\npadStart@lib/lineSlicer.js:11:53\npadStart@http://localhost:4203/cubeSlicer.min.js:1:228\n```\nIn this example the map for lineSlicer.js is available, but not for cubeSlicer.\nIn that case the line is ignored, so there's always a full picture of the flow present.\n\n## Installation\n\nInstall as [described in the OpenTelemetry docs](https://opentelemetry.io/docs/collector/custom-collector/)\n\n## Changelog \u0026 Releases\n\nThis repository keeps a change log using [GitHub's releases][releases]\nfunctionality. The format of the log is based on\n[Keep a Changelog][keepchangelog].\n\nReleases are based on [Semantic Versioning][semver], and use the format\nof ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented\nbased on the following:\n\n- ``MAJOR``: Incompatible or major changes.\n- ``MINOR``: Backwards-compatible new features and enhancements.\n- ``PATCH``: Backwards-compatible bugfixes and package updates.\n\n## Contributing\n\nThis is an active open-source project. We are always open to people who want to\nuse the code or contribute to it.\n\nWe've set up a separate document for our\n[contribution guidelines](.github/CONTRIBUTING.md).\n\nThank you for being involved! :heart_eyes:\n\n## Setting up development environment\n\nThis Go project relies on Go. For development improvements, Python is used.\n\nYou need at least:\n\n- Go 1.19\n- Python 3.10+\n- [Poetry][poetry-install]\n\n```bash\npoetry install\n```\n\nAs this repository uses the [pre-commit][pre-commit] framework, all changes\nare linted and tested with each commit. You can run all checks and tests\nmanually, using the following command:\n\n```bash\npoetry run pre-commit run --all-files\n```\n\n## Authors \u0026 contributors\n\nThe original setup of this repository is by [Joost Lekkerkerker][joostlek]\n\nFor a full list of all authors and contributors,\ncheck [the contributor's page][contributors].\n\n## License\n\nMIT License\n\nCopyright (c) 2023 Joost Lekkerkerker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[build-shield]: https://github.com/joostlek/opentelemetry-stacktrace-processor/actions/workflows/tests.yaml/badge.svg\n[build]: https://github.com/joostlek/opentelemetry-stacktrace-processor/actions\n[code-smells]: https://sonarcloud.io/api/project_badges/measure?project=joostlek_opentelemetry-stacktrace-processor\u0026metric=code_smells\n[codecov-shield]: https://codecov.io/gh/joostlek/opentelemetry-stacktrace-processor/branch/master/graph/badge.svg\n[codecov]: https://codecov.io/gh/joostlek/opentelemetry-stacktrace-processor\n[commits-shield]: https://img.shields.io/github/commit-activity/y/joostlek/opentelemetry-stacktrace-processor.svg\n[commits]: https://github.com/joostlek/opentelemetry-stacktrace-processor/commits/master\n[contributors]: https://github.com/joostlek/opentelemetry-stacktrace-processor/graphs/contributors\n[joostlek]: https://github.com/joostlek\n[keepchangelog]: http://keepachangelog.com/en/1.0.0/\n[license-shield]: https://img.shields.io/github/license/joostlek/opentelemetry-stacktrace-processor.svg\n[maintenance-shield]: https://img.shields.io/maintenance/yes/2023.svg\n[poetry-install]: https://python-poetry.org/docs/#installation\n[poetry]: https://python-poetry.org\n[pre-commit]: https://pre-commit.com/\n[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg\n[python-versions-shield]: https://img.shields.io/pypi/pyversions/opentelemetry-stacktrace-processor\n[releases-shield]: https://img.shields.io/github/release/joostlek/opentelemetry-stacktrace-processor.svg\n[releases]: https://github.com/joostlek/opentelemetry-stacktrace-processor/releases\n[semver]: http://semver.org/spec/v2.0.0.html\n[sonarcloud]: https://sonarcloud.io/summary/new_code?id=joostlek_opentelemetry-stacktrace-processor\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoostlek%2Fopentelemetry-stacktrace-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoostlek%2Fopentelemetry-stacktrace-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoostlek%2Fopentelemetry-stacktrace-processor/lists"}