Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sernst/electron-otel
Demonstrates loss of tracing context loss across Electron IPC boundaries.
https://github.com/sernst/electron-otel
Last synced: 6 days ago
JSON representation
Demonstrates loss of tracing context loss across Electron IPC boundaries.
- Host: GitHub
- URL: https://github.com/sernst/electron-otel
- Owner: sernst
- License: cc0-1.0
- Created: 2023-05-17T12:22:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-01T15:53:25.000Z (over 1 year ago)
- Last Synced: 2024-11-14T13:39:14.518Z (2 months ago)
- Language: JavaScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Distributed OpenTelemetry Tracing with Electron IPC
This is a minimal Electron application based on the
[Quick Start Guide](https://electronjs.org/docs/latest/tutorial/quick-start)
within the Electron documentation.The OpenTelemetry web implementation is based on the
[OTel Web Examples](https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/opentelemetry-web/examples)
within the OpenTelemetry JS repository.## Running the Example
To see it in action, you'll need to run the following commands:
```shell
# Install dependencies
npm install
# Run the app
npm start
```This will launch the application and immediately open dev tools to easily inspect the
web console output. Vite is running in watch mode here, so any changes to the web
portion of the application will trigger a fresh build. However, there's no hot
reloading capability, and CMD/CTRL+R refresh will be required to see the changes. Also,
not this only applies to the web portion of the application. Changes to the main
Electron application code will require a restart of the application.