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):
|
||||
print(
|
||||
"{},{} value={}".format(
|
||||
config["telegraf"]["measurement"],
|
||||
"sdm630,identifier={},{} value={}".format(
|
||||
config["telegraf"]["identifier"],
|
||||
",".join([f"{k}={v}" for k, v in keys.items()]),
|
||||
value,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue