GithubHelp home page GithubHelp logo

Comments (4)

onedr0p avatar onedr0p commented on July 16, 2024

It doesn't seem like you are using prometheus to collect the metrics? Grafana should be using the prometheus datasource to query these metrics.

from exportarr.

CyberPoison avatar CyberPoison commented on July 16, 2024

I have the same issue, and i can confirm than i use Prometheus as monitoring option on grafana.

I'm on kubernetes, and i used your helm yaml file and still not able to query the data on grafana.

apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "4"
    field.cattle.io/publicEndpoints: ..........
  creationTimestamp: "2020-12-31T01:06:00Z"
  generation: 9
  labels:
    app.kubernetes.io/instance: radarr-exporter
    app.kubernetes.io/name: radarr-exporter
  name: radarr-exporter
  namespace: monitoring
  resourceVersion: "89197506"
  selfLink: /apis/apps/v1/namespaces/monitoring/deployments/radarr-exporter
  uid: 
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      app.kubernetes.io/instance: radarr-exporter
      app.kubernetes.io/name: radarr-exporter
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      annotations:
        cattle.io/timestamp: "2020-12-31T01:23:09Z"
        field.cattle.io/ports: '[[{"containerPort":9708,"dnsName":"radarr-exporter-hostport","hostPort":9708,"kind":"HostPort","name":"monitoring","protocol":"TCP","sourcePort":9708}]]'
        prometheus.io/port: "9708"
        prometheus.io/scrape: "true"
      creationTimestamp: null
      labels:
        app.kubernetes.io/instance: radarr-exporter
        app.kubernetes.io/name: radarr-exporter
    spec:
      containers:
      - args:
        - radarr
        command:
        - exportarr
        env:
        - name: APIKEY
          value: 
        - name: PORT
          value: "9708"
        - name: URL
          value: 
        image: onedr0p/exportarr:master
        imagePullPolicy: Always
        livenessProbe:
          failureThreshold: 5
          httpGet:
            path: /healthz
            port: monitoring
            scheme: HTTP
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        name: radarr-exporter
        ports:
        - containerPort: 9708
          hostPort: 9708
          name: monitoring
          protocol: TCP
        readinessProbe:
          failureThreshold: 5
          httpGet:
            path: /healthz
            port: monitoring
            scheme: HTTP
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        resources:
          limits:
            cpu: 500m
            memory: 256Mi
          requests:
            cpu: 100m
            memory: 64Mi
        securityContext:
          capabilities: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2020-12-31T01:06:01Z"
    lastUpdateTime: "2020-12-31T01:24:17Z"
    message: ReplicaSet "radarr-exporter-7c9f955b" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  - lastTransitionTime: "2020-12-31T01:25:03Z"
    lastUpdateTime: "2020-12-31T01:25:03Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  observedGeneration: 9
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1

from exportarr.

onedr0p avatar onedr0p commented on July 16, 2024

Sorry it's been awhile since i've had time to work on this project. Unfortunately I'm not sure what the issue is and don't know when i'll have time to debug with you both.

from exportarr.

onedr0p avatar onedr0p commented on July 16, 2024

Grafana expects the metrics to exist in Prometheus first.

Make sure your Prometheus instance is able to pull in metrics from the exporter.

from exportarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.