telemetry-dotnet-metric-plugin

Register custom IMetricInstrumentation and IMetricExporter implementations in the Jarvis OpenTelemetry pipeline.

12|2|Updated May 4, 2020
One-click install
npx skills add https://github.com/hoangnh2412/jarvis --skill telemetry-dotnet-metric-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: telemetry-dotnet-metric-plugin
Source: https://github.com/hoangnh2412/jarvis/tree/main/.opencode/skills/telemetry-dotnet/providers/metric-plugin
Command: npx skills add https://github.com/hoangnh2412/jarvis --skill telemetry-dotnet-metric-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Default Jarvis OpenTelemetry configurations only include prebuilt runtime and ASP.NET Core metrics, leaving no way to track application-specific business or operational metrics without modifying core framework code.

Core Features & Use Cases

  • Custom Metric Instrumentation Registration: Register implementations of the IMetricInstrumentation interface to add custom meters to the OpenTelemetry MeterProviderBuilder.
  • Custom Exporter Support: Add custom IMetricExporter implementations to route metrics to additional export targets beyond the default configuration.
  • Use Case: A team building an e-commerce backend with Jarvis can use this skill to add custom metrics for order processing latency, cart abandonment rate, or inventory update counts to their existing OpenTelemetry setup without reconfiguring the entire pipeline.

Quick Start

Use the telemetry-dotnet-metric-plugin skill to register a custom metric instrumentation for tracking your application-specific order processing success rates in Jarvis OpenTelemetry.

Frequently Asked Questions about telemetry-dotnet-metric-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add custom application metrics to my .NET Jarvis OpenTelemetry pipeline?

You can add custom application metrics to the .NET Jarvis OpenTelemetry pipeline by registering custom IMetricInstrumentation implementations into the MeterProviderBuilder using standard dependency injection.

Can I track business-specific metrics like order processing latency in ASP.NET Core without modifying core framework code?

Yes, you can track business-specific metrics like order processing latency in ASP.NET Core by extending the default Jarvis OpenTelemetry configuration with custom metric instrumentation, avoiding core framework code modifications.

How does custom metric instrumentation work with the default OpenTelemetry setup in a .NET backend?

Custom metric instrumentation extends the default OpenTelemetry setup by appending your application-specific meters to the existing prebuilt runtime and ASP.NET Core metrics through dependency injection registration.

What is the best way to export custom .NET metrics to targets beyond the default Jarvis configuration?

The best way to export custom .NET metrics to additional targets is by adding custom IMetricExporter implementations to route your application-specific metrics beyond the default Jarvis OpenTelemetry configuration.

Does the telemetry-dotnet-metric-plugin require modifying existing dependencies to support custom meters?

No, the telemetry-dotnet-metric-plugin does not require modifying existing dependencies, as it integrates custom IMetricInstrumentation and IMetricExporter implementations into the Jarvis pipeline via standard dependency injection.

When do I need custom metric instrumentation for my Jarvis .NET application?

You need custom metric instrumentation for your Jarvis .NET application when you must track operational or business metrics beyond the preconfigured runtime and ASP.NET Core metrics included by default.