feat: OpenTelemetry configuration and BaseApp instrumentation (#25516)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com> Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
This commit is contained in:
co-authored by
Tyler
Alex | Cosmos Labs
parent
a15ac0b28d
commit
f2d4a98039
@@ -7,8 +7,8 @@ import (
|
||||
)
|
||||
|
||||
func (k Keeper) BeginBlocker(ctx sdk.Context) error {
|
||||
start := telemetry.Now()
|
||||
defer telemetry.ModuleMeasureSince(types.ModuleName, start, telemetry.MetricKeyBeginBlocker)
|
||||
start := telemetry.Now() //nolint:staticcheck // TODO: switch to OpenTelemetry
|
||||
defer telemetry.ModuleMeasureSince(types.ModuleName, start, telemetry.MetricKeyBeginBlocker) //nolint:staticcheck // TODO: switch to OpenTelemetry
|
||||
|
||||
params, err := k.Params.Get(ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user