-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoRaWAN unprocessable messages also contain unknown messages #3520
Comments
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
I would argue that there might be different reasons for why a message cannot be processed. The message might not adhere to the supported/expected syntax or there might be a problem while processing the message due to e.g. a failing back end service. In both cases the messages are Having a fourth status unknown does not really serve this purpose FMPOV as it seems to suggest that the message does not fall into the Another less intrusive solution might be to add another tag for indicating the cause explicitly. This tag could then have values like WDYT? |
I agree with your reasoning. I would suggest
|
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Added the enum to the PR, see complete list for reasons in the enum: https://github.com/eclipse-hono/hono/pull/3519/files#diff-5ffa4da77dce1cb7ee4432311e678c5ac69f347d29b5d12d9afb029fbb03f161R252 |
We should also consider whether we only want to introduce the reason tag to the metrics reported by the Lora adapter or if this is relevant to all adapters. IMHO this is mostly relevant to the Lora adapter at the moment because it is the only adapter that actually inspects/parses the message payload. All other adapters simply forward the payload as-is. WDYT? |
The implementation in #3519 already adds the |
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
Signed-off-by: Bob Claerhout <[email protected]>
@BobClaerhout |
The metric
hono_telemetry_payload_bytes_count
contains astatus
field. This field is eitherforwarded
,unprocessable
orundeliverable
. We added prometheus alerts to follow up unprocessable messages in the lora adapter. However, in the lora adapter we are getting statusunprocessable
when the LNS is providing a message that is not an uplink message. This is completely different from an actual uplink message that is unprocessable because of any other unexpected exception. For this we would like to add an additional status:unknown
, indicating that the message we received is an unknown message and thus not implemented which is fundamentally different from unrpocessable messages.The text was updated successfully, but these errors were encountered: