grafana-logging

Collect and visualize application and infrastructure metrics with Grafana and Prometheus.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/tridentsof/antigravity-dev-kit --skill grafana-logging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grafana-logging
Source: https://github.com/tridentsof/antigravity-dev-kit/tree/main/skills/grafana-logging
Command: npx skills add https://github.com/tridentsof/antigravity-dev-kit --skill grafana-logging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Grafana logging and metrics integration helps teams instrument applications, collect performance data, and visualize it in dashboards for better monitoring and alerting.

Core Features & Use Cases

  • Application metrics: Request rate, error rate, duration, and active requests exposed via Prometheus.
  • Infrastructure metrics: CPU, memory, disk I/O, and network metrics for nodes and services.
  • ASP.NET integration: Sample code to expose /metrics using prometheus-net.AspNetCore, and enabling HTTP metrics.
  • Custom metrics: Create and publish domain-specific counters and histograms for business events.
  • Dashboards & alerting: Build Grafana dashboards and set alerts based on PromQL queries.

Quick Start

Start by enabling the metric server and HTTP metrics in your ASP.NET app and exposing the /metrics endpoint for Grafana to scrape.

Frequently Asked Questions about grafana-logging

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

FAQPage Schema
How do I expose Prometheus metrics in an ASP.NET Core application for Grafana?

To expose Prometheus metrics in an ASP.NET Core application, integrate prometheus-net.AspNetCore and use UseMetricServer with UseHttpMetrics to publish the /metrics endpoint for Grafana to scrape. This enables request rate, error rate, and duration tracking.

What application and infrastructure metrics can I visualize using Grafana dashboards?

Grafana dashboards visualize application metrics like request rate, error rate, duration, and active requests, alongside infrastructure metrics including CPU, memory, disk I/O, and network usage across nodes and services.

Can I create custom metrics for business events in Prometheus and Grafana?

Yes, you can create and publish domain-specific custom metrics for business events using counters and histograms in your services. These custom metrics are exposed via Prometheus and visualized in Grafana dashboards.

How do I set up alerts in Grafana using PromQL for distributed systems?

To set up alerts in Grafana for distributed systems, build dashboards and configure alert rules based on PromQL queries targeting the metrics scraped from your ASP.NET Core services via Prometheus.

Does this monitoring setup require Prometheus integration for ASP.NET Core services?

Yes, this monitoring setup requires Prometheus integration in ASP.NET Core services, specifically enabling UseMetricServer and UseHttpMetrics to expose the /metrics endpoint. This supports real-time monitoring across multiple distributed services.