entity-definitions icon indicating copy to clipboard operation
entity-definitions copied to clipboard

feat: adds apm<>oracledb relationship

Open kinseypdx opened this issue 1 year ago • 0 comments

Relevant information

Previously this relationship between OracleDB and APM entities did not exist.

A typical APM Oracle DB metric looks like:

Datastore/instance/Oracle/ABCPROD/1521

A typical Oracle DB Entity name looks like:

ora-instance:ABCPROD:endpoint=abcprod.us-west-2.prod.foo.bar.aws.acme.dev:1521:servicename=abcprod

The above is comprised of 3 parts:

  • ora-instance: with value of hostname
  • :endpoint= with value of db endpoint
  • :servicename= which we assume to be the hostname toLowerCase()

Please note: The first and third parts are included in the identifier fragments section in this PR. There was no matcher between the APM metric and the :endpoint= available. I do not believe that matcher is necessary to work, but if it is required, I will need assistance on how to write an identifier for that 2nd part.

Checklist

  • [x] I've read the guidelines and understand the acceptance criteria.
  • [x] The value of the attribute marked as identifier will be unique and valid.
  • [x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

kinseypdx avatar Feb 22 '24 21:02 kinseypdx