Skip to content

MisterSquishy/mysql_span_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql_span_exporter

uses the event tables from the mysql performance_schema (primarily the one for statements) to create spans corresponding to important SQL events

appends a traceparent comment to issued queries to propagate context from client code to the SQL server NB this is sort of assuming this is what otel will settle on for a trace propagation method to sql servers (open-telemetry/opentelemetry-specification#2279)

very basic example example

TODOs:

  • why dont we get a wait event for queries that have to wait for a table lock??
  • teach the exporter to add more attributes and stuff
    • can we link wait spans to the span holding the lock???
  • teach the exporter to check if perf monitoring is on; optionally turn it on (how does the mysql metrics exporter deal with this?)
  • containerize, helmify, etc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages