Skip to content
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

Add a few additional metrics #71

Closed
LeonidVas opened this issue Jan 11, 2024 · 1 comment · Fixed by #73
Closed

Add a few additional metrics #71

LeonidVas opened this issue Jan 11, 2024 · 1 comment · Fixed by #73
Assignees

Comments

@LeonidVas
Copy link
Contributor

Needs to add a few additional metrics to module:

  • Queue processing speed (count the time to process requests)
  • The number of calls to the queues API.
  • Number of errors
@LeonidVas
Copy link
Contributor Author

The issue #69 should be resolved as part of this task.

@oleg-jukovec oleg-jukovec self-assigned this Mar 6, 2024
oleg-jukovec added a commit that referenced this issue Mar 19, 2024
* Metric `sharded_queue_api_role_latency` is a histogram for latency
  fo API calls on an instance with `sharded_queue.api` role (#71).
* Metric `sharded_queue_storage_role_latency` is a histogram for
  latency fo API calls on an instance with `sharded_queue.storage`
  role (#71).

Closes #71
oleg-jukovec added a commit that referenced this issue Mar 19, 2024
* 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 API calls on an instance with `sharded_queue.storage`
  role.

Closes #71
oleg-jukovec added a commit that referenced this issue Mar 19, 2024
* 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 API calls on an instance with `sharded_queue.storage`
  role.

Closes #71
oleg-jukovec added a commit that referenced this issue Mar 20, 2024
* 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 format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_role_stats` is a summary of API calls
  on an instance with `sharded_queue.storage` role.

  The metric includes a counter of API calls and errors[1].
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_calls` as an equivalent of
  `sharded_queue_calls` for an instance with `sharded_queue.storage`
  role.

  Values have the same meaning as the `queue` statistics `calls`
  table[1].
  The metric contains labels in the following format:
  `{name = "tube_name", status = "call_name"}`

* Metric `sharded_queue_storage_tasks` as an equivalent of
  `sharded_queue_tasks` for an instance with `sharded_queue.storage`
  role.
  Values have the same meaning as the `queue` statistics `tasks`
  table[1].
  The metric contains labels in the following format:
  `{name = "tube_name", status = "task_status"}`

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
oleg-jukovec added a commit that referenced this issue Mar 20, 2024
* 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 format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_role_stats` is a summary of API calls
  on an instance with `sharded_queue.storage` role.

  The metric includes a counter of API calls and errors[1].
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_calls` as an equivalent of
  `sharded_queue_calls` for an instance with `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", status = "call_name"}`

* Metric `sharded_queue_storage_tasks` as an equivalent of
  `sharded_queue_tasks` for an instance with `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", status = "task_status"}`

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
oleg-jukovec added a commit that referenced this issue Mar 20, 2024
- 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 = "tube_name", method = "api_call_method", status = "ok" or "error"}`

- Metric `sharded_queue_storage_role_stats` is a summary of
  `sharded_queue.storage` role API calls.

  The metric includes a counter of API calls and errors[1].
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_calls` as an equivalent of
  `sharded_queue_calls` for an instance with `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", status = "call_name"}`

* Metric `sharded_queue_storage_tasks` as an equivalent of
  `sharded_queue_tasks` for an instance with `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", status = "task_status"}`

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
oleg-jukovec added a commit that referenced this issue Mar 20, 2024
- 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 = "tube_name", method = "api_call_method", status = "ok" or "error"}`

- Metric `sharded_queue_storage_role_stats` is a summary of
  `sharded_queue.storage` role API calls.

  The metric includes a counter of API calls and errors[1].
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_calls` as an equivalent of
  `sharded_queue_calls` 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", status = "call_name"}`

* Metric `sharded_queue_storage_tasks` as an equivalent of
  `sharded_queue_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", status = "task_status"}`

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
oleg-jukovec added a commit that referenced this issue Mar 20, 2024
* 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 = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_role_stats` is a summary of
  `sharded_queue.storage` role API calls.

  The metric includes a counter of API calls and errors[1].
  The metric contains labels in the following format:
  `{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

* Metric `sharded_queue_storage_calls` as an equivalent of
  `sharded_queue_calls` 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", status = "call_name"}`

* Metric `sharded_queue_storage_tasks` as an equivalent of
  `sharded_queue_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", status = "task_status"}`

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
oleg-jukovec added a commit that referenced this issue Mar 22, 2024
* 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:
  https://github.com/tarantool/metrics/?tab=readme-ov-file#summary
  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
oleg-jukovec added a commit that referenced this issue Mar 22, 2024
* 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
oleg-jukovec added a commit that referenced this issue Mar 22, 2024
* 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
oleg-jukovec added a commit that referenced this issue Mar 22, 2024
* 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
oleg-jukovec added a commit that referenced this issue Apr 16, 2024
Overview

    The release introduces roles for Tarantool 3 and improves the module
    metrics.

Breaking changes

    Metric `sharded_queue_calls` renamed to
    `tnt_sharded_queue_api_statistics_calls_total` (#71). 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` (#71). The metric now
    has labels in the format `{name = "tube_name", state = "task_state"}`
    instead of `{name = "tube_name", status = "task_state"}`.

    The dependency `cartridge` is removed from the `rockspec` since
    the module does not require it to work with Tarantool 3 (#68).

New features

    Role `roles.sharded-queue-router` for Tarantool 3 (#68).

    Role `roles.sharded-queue-storage` for Tarantool 3 (#68).

    Metric `tnt_sharded_queue_api_role_stats` is a summary with
    quantiles of `sharded_queue.api` role API calls (#71).
    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 with
    quantiles of `sharded_queue.storage` role API calls (#71).
    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.
    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 (#71).
    Values have the same meaning as the `queue` statistics `tasks`
    table.
    The metric contains labels in the following format:
    `{name = "tube_name", state = "task_state"}`

Bugfixes

    Data race with fifo driver for put()/take() methods with vinyl
    engine (#64).
oleg-jukovec added a commit that referenced this issue Apr 16, 2024
Overview

    The release introduces roles for Tarantool 3 and improves the module
    metrics.

Breaking changes

    Metric `sharded_queue_calls` renamed to
    `tnt_sharded_queue_api_statistics_calls_total` (#71). 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` (#71). The metric now
    has labels in the format `{name = "tube_name", state = "task_state"}`
    instead of `{name = "tube_name", status = "task_state"}`.

    The dependency `cartridge` is removed from the `rockspec` since
    the module does not require it to work with Tarantool 3 (#68).

New features

    Role `roles.sharded-queue-router` for Tarantool 3 (#68).

    Role `roles.sharded-queue-storage` for Tarantool 3 (#68).

    Metric `tnt_sharded_queue_api_role_stats` is a summary with
    quantiles of `sharded_queue.api` role API calls (#71).
    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 with
    quantiles of `sharded_queue.storage` role API calls (#71).
    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 (#71).
    Values have the same meaning as the `queue` statistics `calls`
    table.
    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 (#71).
    Values have the same meaning as the `queue` statistics `tasks`
    table.
    The metric contains labels in the following format:
    `{name = "tube_name", state = "task_state"}`

Bugfixes

    Data race with fifo driver for put()/take() methods with vinyl
    engine (#64).
oleg-jukovec added a commit that referenced this issue Apr 16, 2024
Overview

    The release introduces roles for Tarantool 3 and improves the module
    metrics.

Breaking changes

    Metric `sharded_queue_calls` renamed to
    `tnt_sharded_queue_api_statistics_calls_total` (#71). 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` (#71). The metric now
    has labels in the format `{name = "tube_name", state = "task_state"}`
    instead of `{name = "tube_name", status = "task_state"}`.

    The dependency `cartridge` is removed from the `rockspec` since
    the module does not require it to work with Tarantool 3 (#68).

New features

    Role `roles.sharded-queue-router` for Tarantool 3 (#68).

    Role `roles.sharded-queue-storage` for Tarantool 3 (#68).

    Metric `tnt_sharded_queue_api_role_stats` is a summary with
    quantiles of `sharded_queue.api` role API calls (#71).
    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 with
    quantiles of `sharded_queue.storage` role API calls (#71).
    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 (#71).
    Values have the same meaning as the `queue` statistics `calls`
    table.
    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 (#71).
    Values have the same meaning as the `queue` statistics `tasks`
    table.
    The metric contains labels in the following format:
    `{name = "tube_name", state = "task_state"}`

Bugfixes

    Data race with fifo driver for put()/take() methods with vinyl
    engine (#64).
oleg-jukovec added a commit that referenced this issue Apr 16, 2024
Overview

    The release introduces roles for Tarantool 3 and improves the module
    metrics.

Breaking changes

    Metric `sharded_queue_calls` renamed to
    `tnt_sharded_queue_api_statistics_calls_total` (#71). 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` (#71). The metric now
    has labels in the format `{name = "tube_name", state = "task_state"}`
    instead of `{name = "tube_name", status = "task_state"}`.

    The dependency `cartridge` is removed from the `rockspec` since
    the module does not require it to work with Tarantool 3 (#68).

New features

    Role `roles.sharded-queue-router` for Tarantool 3 (#68).

    Role `roles.sharded-queue-storage` for Tarantool 3 (#68).

    Metric `tnt_sharded_queue_api_role_stats` is a summary with
    quantiles of `sharded_queue.api` role API calls (#71).
    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 with
    quantiles of `sharded_queue.storage` role API calls (#71).
    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 (#71).
    Values have the same meaning as the `queue` statistics `calls`
    table.
    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 (#71).
    Values have the same meaning as the `queue` statistics `tasks`
    table.
    The metric contains labels in the following format:
    `{name = "tube_name", state = "task_state"}`

Bugfixes

    Data race with fifo driver for put()/take() methods with vinyl
    engine (#64).
oleg-jukovec added a commit that referenced this issue Apr 17, 2024
Overview

    The release introduces roles for Tarantool 3 and improves the module
    metrics.

Breaking changes

    Metric `sharded_queue_calls` renamed to
    `tnt_sharded_queue_api_statistics_calls_total` (#71). 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` (#71). The metric now
    has labels in the format `{name = "tube_name", state = "task_state"}`
    instead of `{name = "tube_name", status = "task_state"}`.

    The dependency `cartridge` is removed from the `rockspec` since
    the module does not require it to work with Tarantool 3 (#68).

New features

    Role `roles.sharded-queue-router` for Tarantool 3 (#68).

    Role `roles.sharded-queue-storage` for Tarantool 3 (#68).

    Metric `tnt_sharded_queue_api_role_stats` is a summary with
    quantiles of `sharded_queue.api` role API calls (#71).
    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 with
    quantiles of `sharded_queue.storage` role API calls (#71).
    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 (#71).
    Values have the same meaning as the `queue` statistics `calls`
    table.
    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 (#71).
    Values have the same meaning as the `queue` statistics `tasks`
    table.
    The metric contains labels in the following format:
    `{name = "tube_name", state = "task_state"}`

Bugfixes

    Data race with fifo driver for put()/take() methods with vinyl
    engine (#64).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants