Documentation ¶
Index ¶
Constants ¶
View Source
const ( Type = "newrelicapm" TracesStability = component.StabilityLevelDevelopment MetricsStability = component.StabilityLevelDevelopment LogsStability = component.StabilityLevelDevelopment )
FIXME copying this from the metadata/generated_status to be able to build the component externally
View Source
const ( DbSQLTableAttributeName = "db.sql.table" DbSystemAttributeName = "db.system" DbOperationAttributeName = "db.operation" DbStatementAttributeName = "db.statement" )
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory returns a new factory for the Attributes processor.
Types ¶
type Config ¶
type Config struct { // If set to true, will set the `instrumentation.provider` attribute to `newrelic-opentelemetry`. // Defaults to true. ChangeInstrumentationProvider bool `mapstructure:"change_instrumentation_provider"` }
type SQLParser ¶
type SQLParser struct {
// contains filtered or unexported fields
}
func NewSQLParser ¶
func NewSQLParser() *SQLParser
func (*SQLParser) ParseDbTableFromSQL ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.