dotnet-elastic-apm

Installation
SKILL.md

Elasticsearch and Elastic APM Integration

Logging and Observability Standards

  • Logging Standard: All logging must be implemented using Serilog with structured logging.
  • Centralized Destination: All logs must be centralized in Elasticsearch, using Elastic APM authentication and Data Streams configuration.
  • Enriched Information: Logs must be enriched with context properties such as app-name and app-type.
  • Bootstrapping: Serilog initialization must be COMPLETELY OMITTED IN Program.cs and performed through an Extension Method from the Infrastructure layer.

Security and Data Privacy

  • Sensitive Information: PII (Personally Identifiable Information), credentials, and tokens must NEVER be logged.
  • Sanitize sensitive data before logging.
  • Use log filters to exclude sensitive endpoints or data.

Serilog Configuration Extension Method

Create an extension method in Infrastructure/Extensions/ExtensionLogging.cs:

Installs
3
First Seen
Feb 6, 2026
dotnet-elastic-apm — analistadesarrollo4/skills