-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.go
More file actions
13 lines (13 loc) · 751 Bytes
/
Copy pathdoc.go
File metadata and controls
13 lines (13 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
// Package sqlparamstyleprocessor provides an OpenTelemetry Collector processor
// that normalizes parameterized SQL in span attributes (e.g. db.statement) so
// traces group by query shape instead of literal values. It supports all
// PEP 249 paramstyles (qmark, numeric, named, format, pyformat) and optionally
// normalizes IN clauses to a single placeholder for better grouping.
//
// Naming: the component type in pipeline config is "sqlparamstyle"; the Go
// package is sqlparamstyleprocessor; the module path is
// github.com/nilox94/otel-sqlparamstyle-processor.
//
// Use NewFactory to register the processor with a collector distribution.
// See the examples directory for collector and builder configuration.
package sqlparamstyleprocessor