Question #821867 on Graphite changed: https://answers.launchpad.net/graphite/+question/821867
Description changed to: 1. Iam trying to send test data graphite:~/graphite-docker$ echo "sensor.6 42.2 $(date +%s)" | nc localhost 2003 graphite:~/graphite-docker$ the files are not being created, Earlier when I tried sedning 2k_datapoints.csv via python client(which has timestamp of 2024) the values of each sensor was stored as 0,0 then I created carbon file with these configration, i will add them all below, please let me know what am I missing here ✅ 1. docker-compose.yml version: '3' services: graphite: image: graphiteapp/graphite-statsd container_name: graphite restart: always ports: - "8080:80" # Web UI - "2003-2004:2003-2004" # Carbon: plaintext + pickle - "2023-2024:2023-2024" # Aggregator - "8125:8125/udp" # StatsD UDP - "8126:8126" # StatsD admin environment: - TZ=Europe/Berlin volumes: - ./graphite_data:/opt/graphite/storage - ./conf/carbon.conf:/opt/graphite/conf/carbon.conf - ./conf/storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf - ./conf/local_settings.py:/opt/graphite/webapp/graphite/local_settings.py grafana: image: grafana/grafana:latest container_name: grafana ports: - "3000:3000" depends_on: - graphite volumes: - grafana-storage:/var/lib/grafana volumes: grafana-storage: ✅ 2. conf/carbon.conf ENABLE_LOGROTATION = True USE_CREATES = True LOG_UPDATES = True LOG_CACHE_HITS = True LOG_CACHE_QUEUE_SORTS = True WHISPER_FALLOCATE_CREATE = True MAX_CREATES_PER_MINUTE = 1000 # ✅ Crucial for backdated data ENABLE_OLD_TIMESTAMP_UPDATES = True ✅ 3. conf/storage-schemas.conf [keep_1y_per_minute] pattern = ^sensor\. retentions = 60s:365d ✅ 4. conf/local_settings.py (optional but recommended) python # Make sure time zone is consistent TIME_ZONE = 'Europe/Berlin' # Avoid cache conflicts USE_REMOTE_USER_AUTHENTICATION = True ✅ 5. Folder Structure graphite-docker/ │ ├── docker-compose.yml ├── send_to_graphite_2kpoints.py ├── graphite_data/ # Mounted volume │ └── (created at runtime) ├── conf/ │ ├── carbon.conf │ ├── storage-schemas.conf │ └── local_settings.py 🔁 After setting all files: Run the following to clean up and restart from scratch: docker compose down -v sudo rm -rf graphite_data/* docker compose up -d Then test injection: echo "sensor.6 42.2 $(date +%s)" | nc localhost 2003 Then check from container: docker exec -it graphite bash ls /opt/graphite/storage/whisper/sensor/ You should see 6.wsp. which Im not able to see -- You received this question notification because your team graphite-dev is an answer contact for Graphite. _______________________________________________ Mailing list: https://launchpad.net/~graphite-dev Post to : graphite-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~graphite-dev More help : https://help.launchpad.net/ListHelp