Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Graphite: How to install and Configure graphite monitoring tool


docker-compose.yml
root@ip-172-31-37-11:~/graphite-linux-demo# more docker-compose.yml
version: "3.8"

services:
  graphite:
    image: graphiteapp/graphite-statsd:latest
    container_name: graphite
    restart: unless-stopped
    ports:
      - "8080:80"          # Graphite Web UI
      - "2003:2003"        # Carbon plaintext TCP
      - "2004:2004"        # Carbon pickle
      - "8125:8125/udp"    # StatsD UDP
      - "8126:8126"        # StatsD admin
    volumes:
      - graphite_data:/opt/graphite/storage
      - ./storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf

  telegraf:
    image: telegraf:latest
    container_name: telegraf
    restart: unless-stopped
    depends_on:
      - graphite
    user: root
    volumes:
      - ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
      - /:/hostfs:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      HOST_MOUNT_PREFIX: /hostfs

volumes:
  graphite_data:
root@ip-172-31-37-11:~/graphite-linux-demo# Code language: PHP (php)

root@ip-172-31-37-11:~/graphite-linux-demo# more storage-schemas.conf 
[telegraf]
pattern = ^telegraf\.
retentions = 10s:1d,1m:7d,10m:30d

[default]
pattern = .*
retentions = 10s:1d,1m:7d,10m:30d
root@ip-172-31-37-11:~/graphite-linux-demo# Code language: PHP (php)

root@ip-172-31-37-11:~/graphite-linux-demo# more telegraf.conf
[agent]
  interval = "10s"
  round_interval = true
  hostname = "linux-demo"
  omit_hostname = false

[[outputs.graphite]]
  servers = ["graphite:2003"]
  prefix = "telegraf"
  template = "host.measurement.field"

[[inputs.cpu]]
  percpu = true
  totalcpu = true
  collect_cpu_time = false
  report_active = true

[[inputs.mem]]

[[inputs.swap]]

[[inputs.system]]

[[inputs.disk]]
  ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs", "nsfs", "cgroup", "cgroup2"]

[[inputs.net]]

[[inputs.kernel]]

[[inputs.processes]]
root@ip-172-31-37-11:~/graphite-linux-demo# Code language: PHP (php)

Commands to run all setup

docker-compose up -d

docker exec -it graphite find /opt/graphite/storage/whisper/telegraf -type f | head -20

docker exec -it graphite find /opt/graphite/storage/whisper/telegraf -type f | sed 's#/opt/graphite/storage/whisper/##; s#/#.#g; s#.wsp$##' | sortCode language: JavaScript (javascript)

root@ip-172-31-37-11:~/graphite-linux-demo# docker ps
CONTAINER ID   IMAGE                                COMMAND                  CREATED      STATUS      PORTS                                                                                                                                                                                                                                                  NAMES
e7345a01ea59   telegraf:latest                      "/entrypoint.sh teleโ€ฆ"   3 days ago   Up 3 days   8092/udp, 8125/udp, 8094/tcp                                                                                                                                                                                                                           telegraf
5d1ad13e09fd   graphiteapp/graphite-statsd:latest   "/entrypoint"            3 days ago   Up 3 days   2013-2014/tcp, 2023-2024/tcp, 8080/tcp, 0.0.0.0:2003-2004->2003-2004/tcp, [::]:2003-2004->2003-2004/tcp, 0.0.0.0:8126->8126/tcp, [::]:8126->8126/tcp, 8125/tcp, 0.0.0.0:8125->8125/udp, [::]:8125->8125/udp, 0.0.0.0:8080->80/tcp, [::]:8080->80/tcp   graphite
root@ip-172-31-37-11:~/graphite-linux-demo# Code language: PHP (php)

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Top DevOps Companies in 2026: 10 Best Firms for Startups and Enterprises

The top DevOps companies in 2026 span boutique specialists that embed with a client’s team in weeks and global integrators running thousand-engineer programs. The best DevOps companies…

Read More

Data Lake Architecture Best Practices for DataOps Teams

Modern DataOps teams rely on data lakes to store, process, and analyze growing volumes of structured and unstructured data. However, simply deploying a data lake is not…

Read More

Best EHR Software Development Companies in the USA for FHIR, HIPAA, and Beyond

An EHR system is not a typical software project. It sits at the intersection of clinical workflow, compliance, interoperability, and patient safety, and any one of these…

Read More

The Role of DevOps Practices in Softalium Limited’s Software Delivery Model

Most software is not something that fails at launch. The failure tends to come three months later, when a routine update breaks something that nobody on the…

Read More

How to Fill Out PDF Forms Online Quickly and Without Any Stress

Paperwork becomes stressful when small omissions lead to delays, rejected requests, or repeated submissions. A PDF form may involve tax records, vehicle details, school enrollment, consent forms,…

Read More

Why Citation Management Software Matters for Academic Researchers

If you ask any PhD student three months into a literature review about their most frustrating task, chances are most of them will not just mention the…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Jason Mitchell
Jason Mitchell
2 months ago

Really useful guide for anyone working with Graphite monitoring. The instructions are simple, clear, and easy to follow.

0
Would love your thoughts, please comment.x
()
x