Graphite/Carbon how to get per-second metrics

旧街凉风 提交于 2019-12-01 01:07:24

In order to apply changes in storage-schemas.conf you have to:

  • restart carbons
  • delete old *.wsp or use whisper-resize.py to apply scheme
  • restart carbon-cache
  • make sure that DEFAULT_CACHE_DURATION in webapp's local_settings.py is set to 1
  • make sure nginx/apache2/uwsgi cache is set up correctly as well, if any

There is more whisper-* tools shipped with graphite. The next you may be interested is whisper-info.py

    bash$ whisper-info.py /graphite/whisper/prod/some/metric.wsp 
    maxRetention: 1296000
    xFilesFactor: 0.5
    aggregationMethod: average
    fileSize: 142600

    Archive 0
    retention: 691200
>>  secondsPerPoint: 1
    points: 11520
    size: 138240
    offset: 40

    Archive 1
    retention: 1296000
    secondsPerPoint: 3600
    points: 360
    size: 4320
    offset: 138280
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!