Replies: 7 comments
-
Metric schema (core, low-cardinality) All metrics prefixed mcpjungle_ and instrumented as OTel instruments; the Prometheus names will be converted appropriately. counters
Histograms (explicit buckets; seconds)
Gauges / UpDownCounters
Just an overview for the metrics we could scrap, could change as per requirements. |
Beta Was this translation helpful? Give feedback.
-
@ankittk thanks, this is very well put! When implementing some new functionality in mpcjungle, we always want to start by implementing the minimal thing that works well and doesn't break anything else. Every other extra thing or improvement comes only after user feedback So keeping this in mind, here are a few comments from me:
Not right now. ps- I too haven't worked extensively on implementing otel myself, so I could be wrong about some of the things above. Feel free to correct me. |
Beta Was this translation helpful? Give feedback.
-
Cool thats the plan
I think we are clear on this now. What do you think? |
Beta Was this translation helpful? Give feedback.
-
@ankittk Thanks for clarifying.
So yes, I believe we're in agreement about the first iteration of implementing OTEL 👍 |
Beta Was this translation helpful? Give feedback.
-
Version Currently, prometheus-compatible metrics are exposed at We're collecting feedback on what metrics will be useful to people, feel free to drop your suggestions in this discussion. |
Beta Was this translation helpful? Give feedback.
-
Feedback from a user
|
Beta Was this translation helpful? Give feedback.
-
We can use Only initialize OTel when Prometheus configuration
Few questions:
Open to chat on that, thanks :) PS: I haven't worked on these but research all that for this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Moving my PR thoughts over this
I was thinking about this, this is the design i am thinking of, love your input
Goal: OpenTelemetry-based metrics to MCPJungle to measure MCP tool usage and server interactions, enabled only in production mode, with sane cardinality controls and a scalable storage path.
Instrument MCPJungle with OTel SDK (Go) → export via OTLP to an OTel Collector → expose a Prometheus-scrape endpoint → Prometheus handles short-term storage, rules and alerting → Prometheus remote_write to VictoriaMetrics for long-term retention → Grafana for dashboards. Optional: OTLP traces to Tempo/Jaeger
Let Prometheus scrape the OTel Collector’s Prometheus exporter for short-term storage and alerts, then remote_write to VictoriaMetrics for long-term retention and historical dashboards.
Beta Was this translation helpful? Give feedback.
All reactions