Skip to content

Commit

Permalink
Add more OTEl persistence attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanos committed Jan 9, 2025
1 parent 1b4c7f4 commit 78b4026
Show file tree
Hide file tree
Showing 11 changed files with 1,438 additions and 14 deletions.
4 changes: 2 additions & 2 deletions common/persistence/persistence_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ type (
// create the shard with the returned value.
InternalGetOrCreateShardRequest struct {
ShardID int32
CreateShardInfo func() (rangeID int64, shardInfo *commonpb.DataBlob, err error)
LifecycleContext context.Context // cancelled when shard is unloaded
CreateShardInfo func() (rangeID int64, shardInfo *commonpb.DataBlob, err error) `json:"-"`
LifecycleContext context.Context // cancelled when shard is unloaded
}

// InternalGetOrCreateShardResponse is the response to GetShard
Expand Down
134 changes: 133 additions & 1 deletion common/persistence/telemetry/cluster_metadata_store_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 78b4026

Please sign in to comment.