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 OTel metrics #98

Merged
merged 16 commits into from
Aug 30, 2023
Merged

Add OTel metrics #98

merged 16 commits into from
Aug 30, 2023

Commits on Aug 25, 2023

  1. add the metrics subsystem

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    f25d78c View commit details
    Browse the repository at this point in the history
  2. fix the metrics subsystem

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    a3c328e View commit details
    Browse the repository at this point in the history
  3. add relayer.{src,dst}.processed_block_height metrics

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    ed99edc View commit details
    Browse the repository at this point in the history
  4. add relayer.{src,dst}.backlog_size metrics

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    97e0d49 View commit details
    Browse the repository at this point in the history
  5. add relayer.{src,dst}.backlog_oldest_height metrics

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    60607ca View commit details
    Browse the repository at this point in the history
  6. add relayer.receive_packets_finalized metrics

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    10fdc01 View commit details
    Browse the repository at this point in the history
  7. refactor metrics

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    6518cdf View commit details
    Browse the repository at this point in the history
  8. update go.mod

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    f1d5fe5 View commit details
    Browse the repository at this point in the history
  9. replace metric "backlog_oldest_height" with "backlog_oldest_timestamp"

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    05f5bdb View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. refactor metrics

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    86263b3 View commit details
    Browse the repository at this point in the history
  2. mv the metrics subsystem to the dedicated directory

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    4a71651 View commit details
    Browse the repository at this point in the history
  3. fix to shut down the relayer when the metrics exporter server is shut…

    … down
    
    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    f05a220 View commit details
    Browse the repository at this point in the history
  4. add PacketInfoList::Subtract function with unit testing for it

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    e6c5f9e View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. fix to run the prom exporter only on yrly service start

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    3c2f172 View commit details
    Browse the repository at this point in the history
  2. add "--prometheus-addr" flag to service start command and remove `p…

    …rometheus-addr` field from the global config
    
    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    836a8dc View commit details
    Browse the repository at this point in the history
  3. add type guards for ExporterConfig implementations

    Signed-off-by: Masanori Yoshida <masanori.yoshida@datachain.jp>
    siburu committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    5ee29bd View commit details
    Browse the repository at this point in the history