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

tarantool / sharded-queue
93%
master: 90%

Build:
Build:
LAST BUILD BRANCH: palage4a/truncate-followup
DEFAULT BRANCH: master
Repo Added 30 May 2023 05:21PM UTC
Token DdFDTbsdiejkqjhcIGs1qdRIgvd5sJChW regen
Build 117 Last
Files 21
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

LAST BUILD ON BRANCH oleg-jukovec/gh-71-add-more-metrics
branch: oleg-jukovec/gh-71-add-more-metrics
CHANGE BRANCH
x
Reset
Sync Branches
  • oleg-jukovec/gh-71-add-more-metrics
  • lvasiliev/gh-no-ticket-update-doc
  • master
  • oleg-jukovec/ci
  • oleg-jukovec/gh-47-rework
  • oleg-jukovec/gh-49
  • oleg-jukovec/gh-55-metrics
  • oleg-jukovec/gh-65-lost-tasks
  • oleg-jukovec/gh-68-refactoring
  • oleg-jukovec/gh-68-tarantool-3-role
  • oleg-jukovec/gh-no-fifo-fix-vinyl
  • oleg-jukovec/more-changelog
  • oleg-jukovec/release-0.1.0
  • oleg-jukovec/release-0.1.1
  • oleg-jukovec/release-1.0.0
  • oleg-jukovec/replace-cartridge-with-tt
  • oleg-jukovec/version
  • palage4a/bump-ubuntu-in-ci
  • palage4a/truncate-followup
  • refs/pull/78/merge
  • refs/tags/0.1.0
  • refs/tags/0.1.1
  • refs/tags/1.0.0

22 Mar 2024 10:34AM UTC coverage: 92.66% (+1.3%) from 91.377%
8388997461

Pull #73

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
Pull Request #73: api: add more metrics

174 of 182 new or added lines in 8 files covered. (95.6%)

22 existing lines in 1 file now uncovered.

972 of 1049 relevant lines covered (92.66%)

307.91 hits per line

Relevant lines Covered
Build:
Build:
1049 RELEVANT LINES 972 COVERED LINES
307.91 HITS PER LINE
Source Files on oleg-jukovec/gh-71-add-more-metrics
  • Tree
  • List 11
  • Changed 6
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
8388997461 oleg-jukovec/gh-71-add-more-metrics 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 forma... Pull #73 22 Mar 2024 10:37AM UTC oleg-jukovec github
92.66
8388979950 oleg-jukovec/gh-71-add-more-metrics 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 forma... push 22 Mar 2024 10:36AM UTC oleg-jukovec github
92.66
8388612104 oleg-jukovec/gh-71-add-more-metrics 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 forma... Pull #73 22 Mar 2024 10:07AM UTC oleg-jukovec github
92.66
8388534867 oleg-jukovec/gh-71-add-more-metrics 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 forma... Pull #73 22 Mar 2024 10:02AM UTC oleg-jukovec github
92.66
8360720391 oleg-jukovec/gh-71-add-more-metrics api: add more metrics * Metric `sharded_queue_api_role_stats` is a summary of `sharded_queue.api` role API calls. The metric includes a counter of API calls and errors[1]. The metric contains labels in the following format: `{name = "tub... Pull #73 20 Mar 2024 02:34PM UTC oleg-jukovec github
92.74
8360607175 oleg-jukovec/gh-71-add-more-metrics api: add more metrics - Metric `sharded_queue_api_role_stats` is a summary of `sharded_queue.api` role API calls. The metric includes a counter of API calls and errors[1]. The metric contains labels in the following format: `{name = "tub... Pull #73 20 Mar 2024 02:27PM UTC oleg-jukovec github
92.74
8360572371 oleg-jukovec/gh-71-add-more-metrics api: add more metrics - Metric `sharded_queue_api_role_stats` is a summary of `sharded_queue.api` role API calls. The metric includes a counter of API calls and errors[1]. The metric contains labels in the following format: `{name = "tub... push 20 Mar 2024 02:25PM UTC oleg-jukovec github
92.74
8360488252 oleg-jukovec/gh-71-add-more-metrics api: add more metrics * Metric `sharded_queue_api_role_stats` is a summary of API calls on an instance with `sharded_queue.api` role . The metric includes a counter of API calls and errors[1]. The metric contains labels in the following fo... Pull #73 20 Mar 2024 02:20PM UTC oleg-jukovec github
92.74
8343272326 oleg-jukovec/gh-71-add-more-metrics api: add latency metrics for API calls * Metric `sharded_queue_api_role_latency` is a histogram for latency fo API calls on an instance with `sharded_queue.api` role. * Metric `sharded_queue_storage_role_latency` is a histogram for latency fo... Pull #73 19 Mar 2024 12:51PM UTC oleg-jukovec github
93.18
8342860652 oleg-jukovec/gh-71-add-more-metrics api: add latency metrics for API calls * Metric `sharded_queue_api_role_latency` is a histogram for latency fo API calls on an instance with `sharded_queue.api` role. * Metric `sharded_queue_storage_role_latency` is a histogram for latency fo... Pull #73 19 Mar 2024 12:24PM UTC oleg-jukovec github
93.18
See All Builds (94)

Badge your Repo: sharded-queue

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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