When you configure OpenTelemetry (OTel) Collector to save the performance metrics data for an OpenEdge database in a JSON file and start the OTel Collector, the generated data is stored in the JSON file. You can choose to analyze this data directly or use an APM tool for detailed analysis.

The sample performance metrics data in the JSON file for the OpenEdge database is as follows:

{
  "resourceMetrics": [
    {
      "resource": {
        "attributes": [
          {"key": "agent_guid", "value": {"stringValue": "bdcd2d48-a600-46ce-89fd-9f9adc52a186"}},
          {"key": "hostname", "value": {"stringValue": "windowssrv2019"}},
          {"key": "port", "value": {"stringValue": "8686"}},
          {"key": "resource_name", "value": {"stringValue": "otoedb1"}},
          {"key": "service_name", "value": {"stringValue": "otoedb"}},
          {"key": "telemetry_sdk_language", "value": {"stringValue": "Java"}},
          {"key": "telemetry_sdk_name", "value": {"stringValue": "openTelemetry"}},
          {"key": "telemetry_sdk_os", "value": {"stringValue": "Windows"}},
          {"key": "telemetry_sdk_version", "value": {"stringValue": "1.15.0"}}
        ]
      },
      "scopeMetrics": [
        {
          "scope": {
            "name": "progress_oedb_otoedb1",
            "version": "1.0.0"
          },
          "metrics": [
            {
              "name": "progress_oedb_record_deletes_total",
              "description": "The number of records deleted",
              "unit": "cumulative",
              "sum": {
                "dataPoints": [
                  {
                    "startTimeUnixNano": "1718708278551640300",
                    "timeUnixNano": "1718708308566911000",
                    "asInt": "0"
                  }
                ],
                "aggregationTemporality": 2
              }
            },
            ...
          ]
        }
      ]
    }
  ]
}

Resource-level attributes

The resource-level attributes are key-value pairs that describe the characteristics of a monitored OpenEdge database including details about the OpenEdge Command Center agent, service name, and host name. These attributes remain constant across all collected metrics for that particular OpenEdge database and provide essential metadata for analysis and filtering metric data.

The following code snippet shows the resource-level attributes in the JSON file:
{
  "resourceMetrics": [
    {
      "resource": {
        "attributes": [
          {"key": "agent_guid", "value": {"stringValue": "bdcd2d48-a600-46ce-89fd-9f9adc52a186"}},
          {"key": "hostname", "value": {"stringValue": "windowssrv2019"}},
          {"key": "port", "value": {"stringValue": "8686"}},
          {"key": "resource_name", "value": {"stringValue": "otoedb1"}},
          {"key": "service_name", "value": {"stringValue": "otoedb"}},
          {"key": "telemetry_sdk_language", "value": {"stringValue": "Java"}},
          {"key": "telemetry_sdk_name", "value": {"stringValue": "openTelemetry"}},
          {"key": "telemetry_sdk_os", "value": {"stringValue": "Windows"}},
          {"key": "telemetry_sdk_version", "value": {"stringValue": "1.15.0"}}
        ]
      }
...
The following table describes each resources-level attribute:
Attribute Description
agent_guid Specifies the unique identifier for the OpenEdge Command Center agent.
hostname Specifies the name of the host system where the agent is running.
port Specifies the port number on which the monitored OpenEdge database is running.
resource_name Specifies the name of the OpenEdge database that is monitored.
service_name Specifies the name of the telemetry service generating metric data.
telemetry_sdk_language Specifies the programming language of the SDK used for metric data collection.
telemetry_sdk_name Specifies the name of the telemetry SDK.
telemetry_sdk_os Specifies the operating system of the host running the telemetry service.
telemetry_sdk_version Specifies the version of the telemetry SDK used.