Skip to content

java.lang.RuntimeException: bad timestamp #38

@tecbea

Description

@tecbea

This code with the tag "host" it gives an error:

Exception in thread "main" java.lang.RuntimeException: bad timestamp
at org.influxdb.impl.InfluxDBErrorHandler.handleError(InfluxDBErrorHandler.java:19)

Point point1 = Point.measurement(metric)
                        .time(time, TimeUnit.MILLISECONDS)
                        .field("value", cnt)
                            .tag("host", host)
                            .tag("region", region)                          
                        .build();

If i just remote the tag("host", host), it works.

Influxdb 0.9
with java client 2.0-SNAPSHOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions