This commit is contained in:
parent
90fa74ca91
commit
85fed2882e
@ -86,7 +86,7 @@ def on_message_creator(mqtt_: MQTT):
|
|||||||
scope.span.log_kv({'event': 'decisionMade', 'alerting': True})
|
scope.span.log_kv({'event': 'decisionMade', 'alerting': True})
|
||||||
try:
|
try:
|
||||||
r = requests_session.get(
|
r = requests_session.get(
|
||||||
f"http://{config.INPUT_HOSTNAME}/sample/{msg_json['tag']}",
|
f"http://{config.INPUT_HOSTNAME}/input/{msg_json['tag']}",
|
||||||
timeout=config.INPUT_TIMEOUT
|
timeout=config.INPUT_TIMEOUT
|
||||||
)
|
)
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
|
Loading…
Reference in New Issue
Block a user