Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Line Protocol: Empty tag value gets converted to a format rejected by InfluxDB server 0.9.1 #215

Closed
@junmipan

Description

@junmipan

A tag in JSON doc as follows:

{
    "tags" : {
        "my_tag" : ""
    }
}

is converted to line format, by line_protocol.py:make_lines(), as:
my_tag=

This resulted in format error when sent to InfluxDB server. Should the method convert it to the following instead?
my_tag=""

Or should I simply omit empty tag?

Please advise.

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