• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / sharded-queue / 8411782711
90%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2024 08:07PM UTC
Jobs 1
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Mar 2024 08:04PM UTC coverage: 92.66% (+1.3%) from 91.377%
8411782711

push

github

oleg-jukovec
api: add more metrics

* Metric `tnt_sharded_queue_api_role_stats` is a summary[1] with
  quantiles of `sharded_queue.api` role API calls.
  The metric includes a counter of API calls and errors.
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `tnt_sharded_queue_storage_role_stats` is a summary[1] with
  quantiles of `sharded_queue.storage` role API calls.
  The metric includes a counter of API calls and errors.
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `tnt_sharded_queue_storage_statistics_calls_total` as
  an equivalent of `tnt_sharded_queue_api_statistics_calls_total`
  for the `sharded_queue.storage` role.
  Values have the same meaning as the `queue` statistics `calls`
  table[2].
  The metric contains labels in the following format:
  `{name = "tube_name", state = "call_type"}`

* Metric `tnt_sharded_queue_storage_statistics_tasks` as an
  equivalent of `tnt_sharded_queue_api_statistics_tasks` for
  the `sharded_queue.storage` role.
  Values have the same meaning as the `queue` statistics `tasks`
  table[2].
  The metric contains labels in the following format:
  `{name = "tube_name", state = "task_state"}`

* Metric `sharded_queue_calls` renamed to
  `tnt_sharded_queue_api_statistics_calls_total` The metric now has
  labels in the format `{name = "tube_name", state = "call_type"}`
  instead of `{name = "tube_name", status = "call_type"}`.

* Metric `sharded_queue_tasks` renamed to
  `tnt_sharded_queue_api_statistics_tasks`. The metric now has labels
  in the format `{name = "tube_name", state = "task_state"}` instead of
  `{name = "tube_name", status = "task_state"}`.

1. https://github.com/tarantool/metrics/?tab=readme-ov-file#summary
2. https://github.com/tarantool/queue?tab=readme-ov-file#getting-statistics

Closes #69
Closes #71

150 of 156 new or added lines in 4 files covered. (96.15%)

22 existing lines in 1 file now uncovered.

972 of 1049 relevant lines covered (92.66%)

317.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.08
-0.38% sharded_queue/storage.lua
2
97.37
sharded_queue/metrics.lua
3
89.8
1.22% sharded_queue/utils.lua

Uncovered Existing Lines

Lines Coverage ∆ File
22
92.88
1.97% sharded_queue/api.lua
Jobs
ID Job ID Ran Files Coverage
1 8411782711.1 24 Mar 2024 08:07PM UTC 11
92.66
GitHub Action Run
Source Files on build 8411782711
  • Tree
  • List 11
  • Changed 6
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7d16a5cd on github
  • Prev Build on master (#7542057822)
  • Next Build on master (#8539878722)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc