Skip to content

Conversation

johnjmartin
Copy link
Contributor

@johnjmartin johnjmartin commented Aug 22, 2024

Description

This adds the ability for a bridge node operator to push metrics to an external metrics proxy for aggregation. The implementation is mostly copied from https://github.com/MystenLabs/sui/blob/main/crates/sui-node/src/metrics.rs

Test plan

Tested in testnet


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

Copy link

vercel bot commented Aug 22, 2024

@johnjmartin is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2024 3:29pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Sep 6, 2024 3:29pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Sep 6, 2024 3:29pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Sep 6, 2024 3:29pm

Copy link
Contributor

@longbowlu longbowlu left a comment

Choose a reason for hiding this comment

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

would you mind rebasing this to #18877 for better readability?

@johnjmartin johnjmartin merged commit eabd773 into MystenLabs:main Sep 6, 2024
45 checks passed
@johnjmartin johnjmartin deleted the push-metrics-bridge branch September 6, 2024 15:59
johnjmartin added a commit that referenced this pull request Sep 10, 2024
## Description 

Follow up to #19077, this shares the `push_metrics` fn between
`sui-bridge` & `sui-node`.

## Test plan 

Tested on a testnet fullnode & bridge validator node

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
suiwombat pushed a commit that referenced this pull request Sep 16, 2024
## Description 

This adds the ability for a bridge node operator to push metrics to an
external metrics proxy for aggregation. The implementation is mostly
copied from
https://github.com/MystenLabs/sui/blob/main/crates/sui-node/src/metrics.rs

## Test plan 

Tested in testnet

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
suiwombat pushed a commit that referenced this pull request Sep 16, 2024
## Description 

Follow up to #19077, this shares the `push_metrics` fn between
`sui-bridge` & `sui-node`.

## Test plan 

Tested on a testnet fullnode & bridge validator node

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
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.

2 participants