我已经通过 Puppet ( https://forge.puppetlabs.com/dwerder/graphite ) 和 nginx 和 PostgresSQL安装了 Graphite 。当我手动发送数据时,它会创建指标,但它的所有数据点都是“无”(也称为空)。如果我运行 Graphite 附带的 example-client.py,也会发生这种情况。
echo "jakub.test 42 $(date +%s)" | nc 0.0.0.0 2003 # Carbon listens at 2003
# A minute or so later:
$ whisper-fetch.py --pretty /opt/graphite/storage/whisper/jakub/test.wsp | head -n1
Sun May 4 12:19:00 2014 None
$ whisper-fetch.py --pretty /opt/graphite/storage/whisper/jakub/test.wsp | tail -n1
Mon May 5 12:09:00 2014 None
$ whisper-fetch.py --pretty /opt/graphite/storage/whisper/jakub/test.wsp | grep -v None | wc -l
0
Run Code Online (Sandbox Code Playgroud)
和:
$ python /opt/graphite/examples/example-client.py
# Wait until it …
Run Code Online (Sandbox Code Playgroud) 我有一个在 AWS Fargate 上运行的简单 Web 服务。它在本地工作得很好,但在 Fargate 上它每隔几分钟就会重新启动,即停止并创建新任务。日志中没有任何内容。
知道可能出了什么问题/如何排除故障吗?