OpenTelemetry instrumentation for Express.js web applications enabling automatic distributed tracing and observability
80
Pending
Does it follow best practices?
Impact
80%
1.63xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses the @opentelemetry/instrumentation-express package to detect and classify Express layer types. The focus is on proper instrumentation setup, span collection, and extraction of layer type metadata from Express middleware, routers, and request handlers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "ExpressInstrumentation Usage",
"description": "Correctly imports and instantiates the ExpressInstrumentation class from @opentelemetry/instrumentation-express to enable automatic layer detection",
"max_score": 20
},
{
"name": "Tracer Provider Setup",
"description": "Properly configures a TracerProvider (e.g., NodeTracerProvider) and registers the ExpressInstrumentation to enable span collection",
"max_score": 15
},
{
"name": "Span Processor Configuration",
"description": "Sets up an appropriate SpanProcessor (e.g., InMemorySpanExporter or SimpleSpanProcessor) to capture spans generated by the instrumentation",
"max_score": 15
},
{
"name": "Layer Type Extraction",
"description": "Extracts the express.type attribute from spans to identify layer types (router, middleware, request_handler)",
"max_score": 25
},
{
"name": "Layer Name Extraction",
"description": "Extracts the express.name attribute from spans to identify layer names",
"max_score": 15
},
{
"name": "Express App Processing",
"description": "Processes the Express application by making requests or triggering middleware to generate spans that reveal layer information",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10