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

chore(logging): add instrumentation #6210

Merged
merged 10 commits into from
Jun 23, 2022

Commits on Jun 17, 2022

  1. chore(logging): add instrumentation

    Capture usage of the package per process by ingesting instrumentation
    log entry in each process that ingest at least one log.
    The ingestion of the instrumentation entry reflects the method used for
    ingesting first application log (sync/async).
    
    Fixes #6132
    minherz committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    80ea95b View commit details
    Browse the repository at this point in the history
  2. chore(logging): customize instrumentation Log ID

    ingest intrumentation log entry with dedicated log ID
    minherz committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    40b9a12 View commit details
    Browse the repository at this point in the history
  3. chore(logging): fix failing tests

    fix tests failing due to differences in runtime versions
    remove output test from example
    minherz committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    817d299 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2022

  1. chore(logging): refactoring after code review

    keep happy path going left
    avoid named return values
    remove changes from apiv2 package
    reduce code footprint by using structs instead of pointers
    initialize "constant" values at start time
    minherz committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    d7b2a14 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Configuration menu
    Copy the full SHA
    906c01a View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Configuration menu
    Copy the full SHA
    fdf1328 View commit details
    Browse the repository at this point in the history
  2. chore(logging): fixing nit formatting matters

    replace all context.TODO() with context.Background()
    minherz committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    16b3ba0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7639261 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. chore(logging): refactoring instrumentation to remove mutex

    Replace sync.Mutex with sync.Once.
    Move code to logging package but leave sync artifact in internal to allow testing.
    Refactor testing to adapt the changes.
    minherz committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    7fe93b4 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Configuration menu
    Copy the full SHA
    36e8ddc View commit details
    Browse the repository at this point in the history