Skip to content

loveholidays/newrelic-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus: New Relic Exporter

CircleCI

Maintainer: Nick Schuch

Prometheus exporter for a single New Relic application.

Exposes the following metrics:

  • Response Time
  • Throughput
  • Error Rate
  • Apdex Target
  • Apdex Score
  • Host Count
  • Instance Count

Usage

CLI

newrelic-exporter --application="My Application" \
                  --api-key="xxxxxxxxxxxxxxxxx"

Kubernetes

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: amaysim-newrelic-exporter
  namespace: kube-system
spec:
  replicas: 1
  template:
    metadata:
      annotations:
        prometheus.io/port: "9000"
        prometheus.io/scrape: "true"
      labels:
        app: amaysim-newrelic-exporter
        task: monitoring
    spec:
      containers:
      - name: exporter
        image: previousnext/newrelic-exporter:0.0.2
        imagePullPolicy: Always
        resources:
          limits:
            cpu: 5m
            memory: 25Mi
          requests:
            cpu: 5m
            memory: 25Mi
        env:
          - name: NEW_RELIC_APPLICATION 
            value: "My Application"
          - name: NEW_RELIC_API_KEY
            value: "xxxxxxxxxxxxxxxxx"

Resources

Development

Tools

Workflow

(While in the workspace directory)

Installing a new dependency

gb vendor fetch github.com/foo/bar

Running quality checks

make lint test

Building binaries

make build

About

Prometheus exporter for New Relic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 79.5%
  • Makefile 15.7%
  • Dockerfile 4.8%