BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Adding Custom Metrics to a CAP application using cap-js/telementry plugin and SAP Cloud Logging

Walks through adding a custom OpenTelemetry counter metric to a CAP application on top of @cap-js/telemetry's built-in database-pool metrics, incrementing and decrementing it from a service handler on CREATE and UPDATE of high-urgency incidents. Shows the resulting metric in SAP Cloud Logging's Discover and Visualize screens, building a custom visualisation from the exported metrics data.

Where it sits

Explains
TelemetryCAPBTPTelemetrycapabilitySeeing what a running service did — traces across handlers and database calls, metrics, and correlation that survives an async boundary.
Source
reachable

Who is behind it

gopalanandauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
3,766

For telemetry

on the edge
Applies in
authored
btpcap

More on this7

In topics
Building onedevatlasTopic, edition 11 entry named

Building onedevatlas: the idea, the back-and-forth with AI, the wrong turns, and an orb who lost his permanent spot in the atlas.

Group by
Piece, what it offersStill applies
Also explainingTelemetry6
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
Autonomous Diagnostics on Kyma Unplugged: Goose + LiteLLM + KRO + SAP AI Core in Production
SAP Community, quovadis
nothing recorded
Implementation of Observability using OpenTelemetry in SAP BTP
SAP Community, Deepankar
nothing recorded
Performance Trace Node.js App on BTP with Dynatrace
SAP Community, jeremy_ma_usa
nothing recorded
Kyma Integration with SAP Cloud Logging. Part 2: Let's ship some traces
SAP Community, gabbi, part 2 of 2
nothing recorded
SAP Cloud Logging Serviceでコンテナメトリクスを監視する
SAP Community, kyoneoA recipeRunnable code
nothing recorded

Details

Graph3 edges
POINTS OUT →
explainsTelemetrycapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitykyma-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:telemetry (cap, btp)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · kyma-tag.
For your agent
Ref
content:adding-custom-metrics-to-a-cap-application-using-cap-js-telementry-plugin-and-sa
JSON
/content/adding-custom-metrics-to-a-cap-application-using-cap-js-telementry-plugin-and-sa.json
MCP
Connecting an agent