open-telemetry / community

OpenTelemetry community content
https://opentelemetry.io
Apache License 2.0
721 stars 217 forks source link

Project Tracking: Experimental database semantic conventions #1678

Open niuxiaojuan-github opened 9 months ago

niuxiaojuan-github commented 9 months ago

Description

Create experimental semantic conventions for database server metrics. The DB Metric page only contains database client metric instruments, currently there are no database server metric instruments, there is a need to fill the gap.

Currently, there are following DB receivers in the collector contrib repo.

Deliverables

Staffing / Help Wanted

The goal is to follow @tedsuo's proposed Semantic Convention Process.

Question: This process is for stabilizing convention, is there a process for starting experimental convention project?

Required staffing for Stage 1 and 2

Question: Are prototypes required for an experimental project, or is it only required for stabilizing?

Required staffing for Stage 3

Question: Do we need Stage 3 for experimental convention project? My expectation is to release the experimental database server resource attributes and metric instruments without implementation, is that an acceptable goal?

Meeting Times

Once a project is started, the working group should meet regularly for discussion. These meeting times should be posted on the OpenTelemetry public calendar.

Timeline

Stage 1: Discuss the type of databases that we would mainly focus on and recruit domain experts. We may need 2 weeks for this stage considering the heterogeneous nature of database technology.

Stage 2: estimate 2 months

Labels

The tracking issue should be properly labeled to indicate what parts of the specification it is focused on.

Linked Issues and PRs

All PRs, Issues, and OTEPs related to the project should link back to the tracking issue, so that they can be easily found.

Proposed database semantic convention for discussion:

Relevant issues:

Project Board

Once approved by TC, a project should be managed using a GitHub project board. This project board should be pre-populated with issues that cover all known deliverables, organized by timeline milestones.

A Technical Committee (TC) member associated with the project can create the board, along with a new project-specific GitHub label to automatically associate issues and PRs with the project. The project lead and all other relevant project members should have edit access to the board.

Once created, please link to the project board here.

niuxiaojuan-github commented 9 months ago

Got the answer in Sep 18 meeting

Question: This process is for stabilizing convention, is there a process for starting experimental convention project? A: It should be sth. similar, we can follow the same process.

Question: Are prototypes required for an experimental project, or is it only required for stabilizing? A: Existing receivers are considered prototypes.

Question: Do we need Stage 3 for experimental convention project? My expectation is to release the experimental database server resource attributes and metric instruments without implementation, is that an acceptable goal? A: Stage 3 would be updating existing receivers to use experimental conventions.