fix telegraf data format
This commit is contained in:
parent
4ef8e65157
commit
734f4cf4e9
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
def out(keys, value):
|
def out(keys, value):
|
||||||
print(
|
print(
|
||||||
"{},{} value={}".format(
|
"sdm630,identifier={},{} value={}".format(
|
||||||
config["telegraf"]["measurement"],
|
config["telegraf"]["identifier"],
|
||||||
",".join([f"{k}={v}" for k, v in keys.items()]),
|
",".join([f"{k}={v}" for k, v in keys.items()]),
|
||||||
value,
|
value,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue