![](https://cdn.prod.website-files.com/6645c0129428882861d078b8/66603a3829ff5b4b7c556dc8_65f957ce1c78790016dd72de_Screenshot_2024-03-19_at_11.14.30-removebg-preview.png)
Observability for Watsonx with Grafana Tempo
OpenLLMetry lets you trace prompts and embedding calls of Wastonx. With 5 minutes of work you can get complete view of your system directly into Grafana Tempo. See how below.
Step 1
Install the Traceloop SDK and initialize it. It will automatically log all calls to Watsonx, with prompts and completions as separate spans.
Step 2
Make sure you have a Grafana Agent installed and running in your system.
Go to the Grafana Cloud account page under https://grafana.com/orgs/<your org name>, and click on Send Traces under Tempo.
In Grafana Data Source settings, note the URL value. Click Generate now to generate an API key and copy it. Note also the Stack ID value (you can find it in the URL https://grafana.com/orgs/<Your Org Name>/stacks/<Stack ID>). Add this to the configuration of your Grafana Agent.
Discover use cases
![](https://cdn.prod.website-files.com/6645c0129428882861d078b8/66603ad9356df82e6d3b1f52_65f70736bd06dac9afcc78f1_nirga_metric_for_comparison_485e23f1-56bc-4447-a561-edafa2d6d102.png)
Trace prompts and completions in Watsonx
Call Watsonx and see prompts, completions, and token usage for your call.
![](https://cdn.prod.website-files.com/6645c0129428882861d078b8/66603ada95e771940520e234_655dfa12def1896a606c99f5_nirga_alerting_panel_69748aa8-4780-4758-9d02-be15dfc904ef.png)
Trace your RAG retrieval pipeline
Build a RAG pipeline with Chroma and OpenAI. See vectors returned from Chroma, full prompt in OpenAI and responses