Skip to content

Conversation

sv-splunk
Copy link
Contributor

Description

The service.instance.id attribute is added into resourceAttributes of metrics and logs to uniquely identify
Oracle db hosts. The format of id is <host>:<port>

Link to tracking issue

Fixes #42402

Testing

Unit tests are added/updated

Documentation


if err != nil {
logger.Warn("Failed to compute service.instance.id", zap.Error(err))
return "unknown:1521"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can still report the right port here

return "unknown:1521"
}

return host + ":" + port
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this also have the DB name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/oracle] Add service.instance.id resource attribute to metrics and logs
3 participants