Support Questions
Find answers, ask questions, and share your expertise

Mapping from AmbariMetricsCollector to Ambari Widgets definition.

Contributor

I can push data to the Ambari Metrics Collector and I am able to find this data in Grafana and create a Grafana dashboard (AppId --> Component, Metric --> Metric).

Now I want to visualize this data in an Ambari widget. I created a new stack for a new CLIENT-only service and defined a metrics.json and a widget.json, but I can't see the data in the new widget.

Where does the mapping of the AppId and Metric happen? Where should the AppId (Component name) for the query that runs in the background be defined?