Skip to content

chore(conductor): Add instrumentation#1330

Merged
ethanoroshiba merged 5 commits intomainfrom
ENG-670/add_conductor_instrumentation
Aug 30, 2024
Merged

chore(conductor): Add instrumentation#1330
ethanoroshiba merged 5 commits intomainfrom
ENG-670/add_conductor_instrumentation

Conversation

@ethanoroshiba
Copy link
Contributor

@ethanoroshiba ethanoroshiba commented Aug 1, 2024

Summary

Added instrumentation to astria-conductor

Background

Adding instrumentation to all async calls will aid in tracing since spans will be emitted even if no events happen under them.

Changes

  • Added instrumentation to all async function calls that are not long-lived.
  • Added instrumentation on some non-async functions that utilize logging such that logging occurs within a span.
  • Removed instrumentation on run_until_stopped() functions.
  • Minor refactoring of run_until_stopped() functions to ensure logging occurs within spans.

Related Issues

Part of #1321

@github-actions github-actions bot added the conductor pertaining to the astria-conductor crate label Aug 1, 2024
@ethanoroshiba ethanoroshiba force-pushed the ENG-670/add_conductor_instrumentation branch from 5863be9 to eb0e958 Compare August 15, 2024 16:15
@ethanoroshiba ethanoroshiba marked this pull request as ready for review August 15, 2024 16:27
@ethanoroshiba ethanoroshiba requested a review from a team as a code owner August 15, 2024 16:27
ethanoroshiba and others added 2 commits August 28, 2024 09:05
Co-authored-by: Fraser Hutchison <190532+Fraser999@users.noreply.github.com>
@ethanoroshiba ethanoroshiba added this pull request to the merge queue Aug 30, 2024
Merged via the queue into main with commit 293bc5c Aug 30, 2024
@ethanoroshiba ethanoroshiba deleted the ENG-670/add_conductor_instrumentation branch August 30, 2024 14:18
steezeburger added a commit that referenced this pull request Sep 3, 2024
* main:
  chore: ibc e2e smoke test (#1284)
  chore(metrics): restrict `metrics` crate usage to `astria-telemetry` (#1192)
  fix(charts)!: sequencer-relayer chart correct startup env var (#1437)
  chore(bridge-withdrawer): Add instrumentation (#1324)
  chore(conductor): Add instrumentation (#1330)
  fix(cli, bridge-withdrawer): dont fail entire block due to bad withdraw event (#1409)
  feat(sequencer, bridge-withdrawer)!: enforce withdrawals consumed (#1391)
jbowen93 pushed a commit that referenced this pull request Sep 3, 2024
## Summary
Added instrumentation to `astria-conductor`

## Background
Adding instrumentation to all async calls will aid in tracing since
spans will be emitted even if no events happen under them.

## Changes
- Added instrumentation to all async function calls that are not
long-lived.
- Added instrumentation on some non-async functions that utilize logging
such that logging occurs within a span.
- Removed instrumentation on `run_until_stopped()` functions.
- Minor refactoring of `run_until_stopped()` functions to ensure logging
occurs within spans.

## Related Issues
Part of #1321

---------

Co-authored-by: Fraser Hutchison <190532+Fraser999@users.noreply.github.com>
jbowen93 pushed a commit that referenced this pull request Sep 6, 2024
## Summary
Added instrumentation to `astria-conductor`

## Background
Adding instrumentation to all async calls will aid in tracing since
spans will be emitted even if no events happen under them.

## Changes
- Added instrumentation to all async function calls that are not
long-lived.
- Added instrumentation on some non-async functions that utilize logging
such that logging occurs within a span.
- Removed instrumentation on `run_until_stopped()` functions.
- Minor refactoring of `run_until_stopped()` functions to ensure logging
occurs within spans.

## Related Issues
Part of #1321

---------

Co-authored-by: Fraser Hutchison <190532+Fraser999@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conductor pertaining to the astria-conductor crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants