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

Add POC OpenTelemetry instrumentation for Solid Process #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tomascco
Copy link

@tomascco tomascco commented May 3, 2024

Bring Rails-like, first class monitoring and instrumentation to your app's service layer.

Solid Process is intended to be used based on the application needs, only on complex business logic. Having first class support for instrumentation and monitoring is essential.

This pull request adds a simple OpenTelemetry/Grafana stack to the project. It also includes Proof of Concept instrumentation for Solid Process.

To do:

  • Emit Active Support instrumentation events
  • Create OpenTelemetry spans for each Solid Processes' step
  • Add span attributes
  • Add span status

To run the POC:

  1. Run the compose file
  2. Run the rails server
  3. Navigate on the app (http://localhost:3000) to generate some traces
  4. Go to the Grafana Explore tab (http://localhost:3001/explore) and inspect the generated traces.

Before:
image

After:
image

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.

1 participant