Skip to content

bartoszadamczyk/newrelic-infrastructure-for-balena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Relic Infrastructure Agent for Balena Cloud

Docker image with New Relic Infrastructure Agent working with Balena Cloud

How to run?

version: '2'
services:
  new_relic:
    image: bartoszadamczyk/newrelic-infrastructure-for-balena:latest
    restart: unless-stopped
    privileged: true
    pid: host
    cap_add:
      - SYS_PTRACE
    network_mode: host
    environment:
      NRIA_LICENSE_KEY: NRIA_LICENSE_KEY
      NRIA_OVERRIDE_HOSTNAME_SHORT: HOSTNAME
    labels:
      io.balena.features.dbus: '1'
      io.balena.features.sysfs: '1'
      io.balena.features.procfs: '1'
      io.balena.features.balena-socket: '1'

Remember to use your NRIA_LICENSE_KEY and NRIA_OVERRIDE_HOSTNAME_SHORT.

Read more:

Useful

  • NRIA_OVERRIDE_HOST_ROOT: /host - can be passed to change the root path that is used by newrelic agent inside the container.
  • NRIA_METRICS_STORAGE_SAMPLE_RATE: -1 - can be pass to stop StorageAgent reporting.

About

Docker image with New Relic Infrastructure Agent working with Balena Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published