• /
  • EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

Get logs (Prometheus integration)

Problem

You want to get logs for your Prometheus OpenMetrics integration with New Relic for Docker or Kubernetes.

Solution

Docker icon Docker

bash
$
docker logs nri-prometheus
$
docker logs nri-prometheus 2>&1 | grep -v "level=debug"

img-integration-k8s@2x.png Kubernetes

bash
$
kubectl logs deploy/nri-prometheus
$
kubectl logs deploy/nri-prometheus | grep -v "level=debug"
Copyright © 2024 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.