Skip to content

CosmosDB: define applicable values for db.operation.name and add proper reference to az.namespace#1330

Merged
lmolkova merged 12 commits intoopen-telemetry:mainfrom
lmolkova:cosmos-define-operation-names
Aug 23, 2024
Merged

CosmosDB: define applicable values for db.operation.name and add proper reference to az.namespace#1330
lmolkova merged 12 commits intoopen-telemetry:mainfrom
lmolkova:cosmos-define-operation-names

Conversation

@lmolkova
Copy link
Copy Markdown
Member

@lmolkova lmolkova commented Aug 9, 2024

  • List operations names for Cosmos DB clients.
  • Lowercase operation_type value.
  • Add az.namespace attribute and reference it (previously undefined, but referenced in md)
  • Clean up examples

Merge requirement checklist

@lmolkova lmolkova requested review from a team August 9, 2024 18:26
@lmolkova lmolkova changed the title CosmosDB: define applicable values for db.operation.name CosmosDB: define applicable values for db.operation.name and add proper reference to az.namespace Aug 9, 2024
Comment thread docs/attributes-registry/db.md Outdated
Comment thread docs/attributes-registry/db.md Outdated
Comment thread .chloggen/1330.yaml Outdated
Comment thread docs/attributes-registry/db.md Outdated
Comment thread model/trace/database.yaml Outdated
@lmolkova lmolkova force-pushed the cosmos-define-operation-names branch from 7f257df to 5391024 Compare August 9, 2024 19:58
Comment thread templates/registry/markdown/weaver.yaml
Comment thread model/trace/database.yaml Outdated
Copy link
Copy Markdown

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think transactional batch but especially bulk needs some more thoughts. Bulk operations are done fundamentally differently in Java and .Net. In Bulk there is an explicit API for executing a set of operations as bulk - so something like execute_bulk would probably be good? In .Net whether point operations are executed as bulk or normally depends on some config on the client - which right now you result in create or read covering operations that are actually executed as part of a bulk operation and would have completely different non-functional characteristics like perf.

Comment thread model/trace/database.yaml Outdated
@lmolkova lmolkova force-pushed the cosmos-define-operation-names branch from aead156 to 4179c49 Compare August 16, 2024 21:39
Copy link
Copy Markdown
Contributor

@jcocchi jcocchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Left one minor comment

Comment thread docs/database/cosmosdb.md Outdated
Copy link
Copy Markdown

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Thanks!

@lmolkova lmolkova force-pushed the cosmos-define-operation-names branch from 4179c49 to d34d6cb Compare August 22, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants