question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incomplete/misleading "hono.downstream.*" metrics

See original GitHub issue

The term “downstream” in Hono is usually associated with the direction from the device to the messaging network and from there to the Business Application. Therefore, my expectation for the hono.downstream.* protocol adapter metrics would be that these are about the messages sent from the protocol adapter to the messaging network.

However, that is not exactly the case. The message transfers covered by these metrics are:

  • telemetry/event/command-response messages sent to the AMQP messaging network
  • AMQP messages sent to the device registry (for retrieving tenant/device/credentials information)
  • AMQP messages sent to the command router (for updating command subscription information)

Missing are telemetry/event/command-response messages sent to Kafka.

I think it would be better to have the AMQP messages sent to device registry and command router be covered by a different metric (not with “downstream” in the name).

After having added Kafka support, the documentation should also emphasize that hono.downstream.full (“The number of times a message should be sent, but could not because the sender was out of credit.”) only refers to AMQP message transfers.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
calohmncommented, Jun 7, 2022

But it is not only about the delivery to the downstream messaging infrastructure but also includes the time it takes to actually process the message within the adapter, or isn’t it?

Right, the “delivery duration” term should only be applied to the “hono.amqp.*” metrics. So, it’s hono_telemetry_processing_duration and hono_amqp_delivery_duration then.

0reactions
sophokles73commented, Jun 7, 2022

don’t forget to create a corresponding API change entry in the release notes …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Towards Question-Answering as an Automatic Metric for ...
In this work, we propose a metric to evaluate the content quality of a summary using question-answering (QA). QA-based methods directly measure ...
Read more >
How Airbnb Enables Consistent Data Consumption at Scale
With Minerva API, any downstream application is able to serve data consistently and correctly without knowing where the data is stored or how ......
Read more >
opentelemetry-collector-contrib/CHANGELOG.md at main
mysqlreceiver : rename mysql.commands metric to mysql.prepared_statements ... (#14327) This starts the process of phasing out incorrect metric names:.
Read more >
Downloads | Grafana Enterprise Metrics documentation
Grafana Enterprise Metrics downloads Releases v2.4.0 – November 14th 2022 v2.3.1 ... [ENHANCEMENT] Federation frontend: Return richer error when downstream ...
Read more >
Genomic Metrics Applied to Rhizobiales (Hyphomicrobiales)
To facilitate the downstream analysis of large ANI matrices, we introduce here ProKlust (“Prokaryotic Clusters”), an R package that uses a graph ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found