Python MCP server providing AI coding assistants with OpenTelemetry documentation, examples, and instrumentation guidance. Benefits developers and operations teams by streamlining observability setup. Connects to AI coding assistants like Claude, Cursor, and Windsurf.
git clone https://github.com/liatrio-labs/otel-instrumentation-mcp.gitPython MCP server providing AI coding assistants with OpenTelemetry documentation, examples, and instrumentation guidance. Benefits developers and operations teams by streamlining observability setup. Connects to AI coding assistants like Claude, Cursor, and Windsurf.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/liatrio-labs/otel-instrumentation-mcpCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm working on a [PROJECT_TYPE] for [COMPANY] in the [INDUSTRY] sector. I need help with OpenTelemetry instrumentation. Can you provide Python code examples for [SPECIFIC_USE_CASE] and explain how to implement it using OpenTelemetry?
## OpenTelemetry Instrumentation for [SPECIFIC_USE_CASE]
### Python Code Example
```python
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import ConsoleSpanExporter, SimpleSpanProcessor
# Initialize tracing
provider = TracerProvider()
processor = SimpleSpanProcessor(ConsoleSpanExporter())
provider.add_span_processor(processor)
trace.set_tracer_provider(provider)
# Create a tracer
tr = trace.get_tracer(__name__)
# Instrument your code
with tr.start_as_current_span('[SPECIFIC_USE_CASE]_operation') as span:
# Your code here
span.set_attribute('project.type', '[PROJECT_TYPE]')
span.set_attribute('company', '[COMPANY]')
span.set_attribute('industry', '[INDUSTRY]')
```
### Key Considerations
- Ensure you have the OpenTelemetry Python SDK installed (`pip install opentelemetry-sdk`)
- Adjust the span attributes to include relevant metadata for your use case
- Consider adding error handling and logging within the span
- Explore additional OpenTelemetry features like context propagation and bagage for more complex scenariosEnjoyable video chat for work
Efficiently orchestrate containers with automated scaling, self-healing, and load balancing features.
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan