Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion internal/collector/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func (c *Config) ToYAML() (string, error) {
func NewConfig(spec *v1beta1.InstrumentationSpec) *Config {
config := &Config{
Exporters: map[ComponentID]any{
// TODO: Do we want a DebugExporter outside of development?
// https://pkg.go.dev/go.opentelemetry.io/collector/exporter/debugexporter#section-readme
DebugExporter: map[string]any{"verbosity": "detailed"},
},
Expand Down
2 changes: 1 addition & 1 deletion internal/collector/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func AddToPod(
Value: sqlQueryPassword,
},
},

Resources: spec.Resources,
SecurityContext: initialize.RestrictedSecurityContext(),
VolumeMounts: append(volumeMounts, configVolumeMount),
}
Expand Down
1 change: 0 additions & 1 deletion internal/collector/postgres_logs_transforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@
# https://github.com/open-telemetry/semantic-conventions/blob/v1.29.0/docs/attributes-registry/db.md
- set(attributes["db.namespace"], body["dbname"]) where IsString(body["dbname"])
- set(attributes["db.response.status_code"], body["state_code"]) where IsString(body["state_code"])
# TODO(benjb): discuss db.query.summary, db.query.text

# Postgres is multiprocess so some client/backend details align here.
#
Expand Down
Loading