Skip to content

Attributes of DataSource based DB Configs #67

@manikmagar

Description

@manikmagar

When using db:data-source-connection for DB Configs, database span attributes are not extracting all related information. We should find a way to extract information from datasource configuration.

Global config:

	<db:config name="Database_Config">
		<db:data-source-connection dataSourceRef="jdbcDataSource">
			<db:pooling-profile maxPoolSize="5"/>
		</db:data-source-connection>
	</db:config>

Beans config -

	<bean id="jdbcDataSource" class="com.zaxxer.hikari.HikariDataSource">
	   <property name="driverClassName" value="org.apache.derby.jdbc.EmbeddedDriver"/>
	   <property name="jdbcUrl" value="jdbc:derby:memory:demodb;create=true;create=true"/>
	   <property name="username" value="test"/>
	   <property name="password" value="test"/>
	</bean>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions