Can't find a particular namespace in the CloudWatch editor

Need help :wink:

When using the AWS cloudwatch Datasource, we are unable to get AWS/NetworkManager namespace metrics to pull and enable reporting in dashboards.

  1. The Metrics page displays the following usage metrics for the specified edge location during the chosen time frame.
  • Bytes in
  • Bytes out
  • Bytes dropped - black hole
  • Bytes dropped - no route
  • Packets in
  • Packets out

Please note, that all other metrics from AWS appear to be pulled. Just AWS\NetworkManager is missing.

We even attempted a direct default to us-west-2 and a custom namespace of AWS\NetworkManager which still is empty.

Pls provide more details/screenshots.

I would love to, but what screenshots would you be expecting for a simplistic data source that’s not pulling a metric.? I mean I can show you what it looks like in AWS and at the metrics available and then I can show you that it’s not available in grafana.

Screenshot of your query editor in Grafana vs query in AWS console with data is a good start.

It’s pretty self explanatory. As I have stated above, the name space is not present.

You stated above different problem. You also mixed AWS/NetworkManager vs AWS\NetworkManager (and real is AWS/Network Manager). So you are typical users: vague problem description and expects exact copy&paste solution :-D.
We moved from “we are unable to get AWS/NetworkManager namespace metrics” to “the name space is not present” (so consequence is: not able to pull metrics), which is correct description of your problem.

That list of namespaces is hardcoded and AWS\NetworkManager is not in the source: grafana-aws-sdk/pkg/cloudWatchConsts/metrics.go at main ¡ grafana/grafana-aws-sdk ¡ GitHub
So this is correct. But what looks like select box is not real select box and you can write own value there - just follow instructions:
image

It will be very nice from you if you create pull request to update that hardcoded list, so any user will be able to select that namespace from convenient UI.

Thank you Jan for the help and the banter ;/

Are the other grafana data source similar, just for reference for future finds.

1 Like

Each datasource is different.

Great post, learned a lot.