Problem
You want to get logs for your Prometheus OpenMetrics integration with New Relic for Docker or Kubernetes.
Solution
bash
$docker logs nri-prometheus$docker logs nri-prometheus 2>&1 | grep -v "level=debug"
bash
$kubectl logs deploy/nri-prometheus$kubectl logs deploy/nri-prometheus | grep -v "level=debug"