Skip to content

chore(metrics): update metric_name macro to handle a collection of names#1163

Merged
Fraser999 merged 1 commit intomainfrom
fraser/update-metrics-name-macro
Jun 10, 2024
Merged

chore(metrics): update metric_name macro to handle a collection of names#1163
Fraser999 merged 1 commit intomainfrom
fraser/update-metrics-name-macro

Conversation

@Fraser999
Copy link
Contributor

Summary

The astria_telemetry::metric_name macro was changed to metric_names and now defines a collection of const names rather than a single one.

Background

This will make testing the individual crates' metrics more robust since we now have a const variable which includes all metric names.

Changes

  • Updated and renamed astria_telemetry::metric_name to astria_telemetry::metric_names.

Testing

Unit tests updated and extended.

@Fraser999 Fraser999 requested a review from a team as a code owner June 7, 2024 16:03
@Fraser999 Fraser999 requested a review from SuperFluffy June 7, 2024 16:03
@github-actions github-actions bot added conductor pertaining to the astria-conductor crate sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate composer pertaining to composer labels Jun 7, 2024
@Fraser999 Fraser999 added this pull request to the merge queue Jun 10, 2024
Merged via the queue into main with commit 53a1ecb Jun 10, 2024
@Fraser999 Fraser999 deleted the fraser/update-metrics-name-macro branch June 10, 2024 16:55
steezeburger added a commit that referenced this pull request Jun 10, 2024
* main:
  fix: ignore RUSTSEC-2021-0139 (#1171)
  chore(sequencer-relayer)!: remove functionality to restrict relaying blocks to only those proposed by a given validator (#1168)
  chore(metrics): update `metric_name` macro to handle a collection of names (#1163)
  fix(bridge-withdrawer): skip linting generated contract code (#1172)
  fix(core, sequencer): prefix removal source non-refund ics20 packet (#1162)
  chore(docs): add sequencer-relayer doc to specs (#1126)
  feat(bridge-withdrawer): sync logic (#1165)
  chore(withdrawer): replace contracts with `astria-bridge-contracts` submodule (#1164)
  feat(sequencer)!: implement bridge sudo and withdrawer addresses (#1142)
  feat(sequencer): implement refund to rollup logic upon ics20 transfer refund (#1161)
  feat(bridge-withdrawer): bridge withdrawer startup (#1160)
  feat(core, proto)!: add bech32m addresses (#1124)
  feat(withdrawer): bridged ERC20 token withdrawals (#1149)
  feat(sequencer-relayer)!: add chain IDs for sequencer and Celestia to config env vars (#1063)
  test(bridge-withdrawer): add submitter tests (#1133)
  chore: bump penumbra deps (#1159)
  feat(sequencer): implement `bridge/account_last_tx_hash` abci query (#1158)
  fix(withdrawer): use block subscription in batcher; send to destination_chain_address (#1157)
  fix(withdrawer): update AstriaWithdrawer to check that withdrawal value is sufficient (#1148)
  chore(ci): build bridge withdrawer images (#1156)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

composer pertaining to composer conductor pertaining to the astria-conductor crate sequencer pertaining to the astria-sequencer crate sequencer-relayer pertaining to the astria-sequencer-relayer crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants