Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropping point ceph_value: NaN is an unsupported value for field value #1943

Open
YangFanlinux opened this issue Sep 19, 2016 · 3 comments
Open

Comments

@YangFanlinux
Copy link

YangFanlinux commented Sep 19, 2016

Expected behavior

I use ceph-plug. conf like this

<Plugin ceph>
        LongRunAvgLatency false
        ConvertSpecialMetricTypes true
        <Daemon "osd.0">
                SocketPath "/var/run/ceph/ceph-osd.0.asok"
        </Daemon>
        <Daemon "osd.1">
                SocketPath "/var/run/ceph/ceph-osd.1.asok"
        </Daemon>
        <Daemon "mon.a">
                SocketPath "/var/run/ceph/ceph-mon.node1.asok"
        </Daemon>
        <Daemon "mds.a">
                SocketPath "/var/run/ceph/ceph-mds.node1.asok"
        </Daemon>
</Plugin>

(Description of the behavior / output that you expected)

tail -f /var/log/influxdb/influxd.log
[collectd] 2016/09/19 14:15:32 Dropping point ceph_value: NaN is an unsupported value for field value
[collectd] 2016/09/19 14:15:32 Dropping point ceph_value: NaN is an unsupported value for field value
[collectd] 2016/09/19 14:15:32 Dropping point ceph_value: NaN is an unsupported value for field value
[collectd] 2016/09/19 14:15:32 Dropping point ceph_value: NaN is an unsupported value for field value

Actual behavior

(Description of the behavior / output that you observed)

Steps to reproduce

  • step 1
  • step 2
  • step 3
@octo
Copy link
Member

octo commented Sep 19, 2016

Hi @YangFanlinux,

Dropping point ceph_value

This is not an error message generated by collectd. With the provided information we cannot reproduce the problem and the only error appears to be raised by InfluxDB. Please tell us more about your setup and specific problem.

Best regards,
—octo

@zphj1987
Copy link

zphj1987 commented Nov 15, 2016

@octo
I thinlk this is maybe a bug with collect-ceph to store 0.000000 and other tool cannot save it
when i enable the ceph-plugin ,it will collect the ceph's perfomance value,
but ceph sometime the key not always can get like finisher-filestore-apply-0

ceph daemon osd.2 perf dump | jq '."finisher-filestore-apply-0".complete_latency'

so when it not in there ,the valve come to 0.000000,so other tool like influxdb can not store the data

i enable the csv plugin ,and see this ceph data like :

image

i do vim ceph_bytes-FinisherFilestoreApply0.queueLen-2016-11-15
see
1479201966.385,0.000000
1479201976.384,0.000000
1479201986.385,0.000000
1479201996.384,0.000000

if influxdb cannot storedata like 0.000000,i will try later

@zphj1987
Copy link

curl -i -XPOST 'http://localhost:8086/write?db=mydb' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.000000 1434055562000000000'

put 0.000000

[root@lab8106 ceph-osd.0]# curl -GET 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=SELECT \"value\" FROM \"cpu_load_short\" WHERE \"region\"='us-west'"
{
    "results": [
        {
            "series": [
                {
                    "name": "cpu_load_short",
                    "columns": [
                        "time",
                        "value"
                    ],
                    "values": [
                        [
                            "2015-06-11T20:46:02Z",
                            0
                        ]
                    ]
                }
            ]
        }
    ]
}

influxdb can save 0.000000

so maybe the problem is betweent data from collectd send data to influxdb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants