Skip to content

Add tnt_cartridge_config_checksum metric#516

Merged
oleg-jukovec merged 1 commit intomasterfrom
cartridge-config-checksum
Aug 12, 2025
Merged

Add tnt_cartridge_config_checksum metric#516
oleg-jukovec merged 1 commit intomasterfrom
cartridge-config-checksum

Conversation

@p0rtale
Copy link
Contributor

@p0rtale p0rtale commented Aug 7, 2025

This PR adds tnt_cartridge_config_checksum metric to help detect configuration divergence across cluster nodes.

  • Tests
  • Changelog
  • Documentation (README and rst)
  • Rockspec and rpm spec

Closes TNTP-3819

@p0rtale p0rtale requested review from Satbek and oleg-jukovec August 7, 2025 09:36
@p0rtale p0rtale self-assigned this Aug 7, 2025
@p0rtale p0rtale force-pushed the cartridge-config-checksum branch from f90979c to de678d5 Compare August 7, 2025 11:43
@p0rtale p0rtale force-pushed the cartridge-config-checksum branch from de678d5 to b10b438 Compare August 8, 2025 09:29
Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch, but the tests have a lot of copy-paste. Please extract a common code into a some helper functions.

@p0rtale p0rtale force-pushed the cartridge-config-checksum branch from b10b438 to 73766a3 Compare August 11, 2025 16:46
@p0rtale p0rtale requested a review from oleg-jukovec August 11, 2025 16:53
@oleg-jukovec oleg-jukovec merged commit c2cf7c7 into master Aug 12, 2025
16 checks passed
@oleg-jukovec oleg-jukovec deleted the cartridge-config-checksum branch August 12, 2025 13:41
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 22, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-8] add
and remove metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#525
7. tarantool/metrics#527
8. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 22, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
and remove metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 22, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 22, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 23, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 23, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 28, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Oct 29, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
patapenka-alexey added a commit to tarantool/tarantool that referenced this pull request Nov 3, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
sergepetrenko pushed a commit to tarantool/tarantool that referenced this pull request Nov 7, 2025
Bump metric package submodule to 1.6.1. Commits from PR[1-7] add
new metrics to Tarantool.

1. tarantool/metrics#508
2. tarantool/metrics#516
3. tarantool/metrics#519
4. tarantool/metrics#521
5. tarantool/metrics#524
6. tarantool/metrics#527
7. tarantool/metrics#529

Closes #11950

@TarantoolBot document
Title: Bump metrics module to 1.6.1

`'tnt_memory'`, `'tnt_memory_virt'`, `'schema_needs_upgrade'` are new
metrics, introduced in metrics 1.6.0, and enabled by default.

`'tnt_cartridge_config_checksum'` is new metric, introduced in
metrics 1.5.0.

New optional ``label_keys`` parameter for ``counter()`` and ``gauge()``
metrics are presented in metrics 1.4.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants