elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.35k stars 7.98k forks source link

[APM] multi signal inventory summary metrics #182960

Closed cauemarcondes closed 5 days ago

cauemarcondes commented 1 week ago

closes https://github.com/elastic/kibana/issues/181719

Payload example:

{
  "services": {
    "services": [
      {
        "asset": {
          "signalTypes": {
            "asset.traces": true,
            "asset.logs": true
          },
          "identifyingMetadata": [
            "service.name"
          ]
        },
        "service": {
          "name": "synth-node-0",
          "environment": "Synthtrace: traces_logs_assets"
        },
        "metrics": {
          "latency": 1000000,
          "throughput": 0.001388888904963992,
          "transactionErrorRate": 0.5,
          "logRatePerMinute": 0.002777777809927984,
          "logErrorRate": null
        }
      },
      {
        "asset": {
          "signalTypes": {
            "asset.traces": true
          },
          "identifyingMetadata": [
            "service.name"
          ]
        },
        "service": {
          "name": "synth-node-1",
          "environment": "Synthtrace: traces_logs_assets"
        },
        "metrics": {
          "latency": 1000000,
          "throughput": 0.001388888904963992,
          "transactionErrorRate": 0.5
        }
      },
      {
        "asset": {
          "signalTypes": {
            "asset.traces": true
          },
          "identifyingMetadata": [
            "service.name"
          ]
        },
        "service": {
          "name": "synth-node-2",
          "environment": "Synthtrace: traces_logs_assets"
        },
        "metrics": {
          "latency": 1000000,
          "throughput": 0.001388888904963992,
          "transactionErrorRate": 0.5
        }
      },
      {
        "asset": {
          "signalTypes": {
            "asset.logs": true
          },
          "identifyingMetadata": [
            "service.name"
          ]
        },
        "service": {
          "name": "synth-java"
        },
        "metrics": {
          "logRatePerMinute": 0.002083333357445988,
          "logErrorRate": 0.3333333333333333
        }
      }
    ]
  }
}
apmmachine commented 1 week ago

:robot: GitHub comments

Expand to view the GitHub comments

Just comment with: - `/oblt-deploy` : Deploy a Kibana instance using the Observability test environments. - `run` `docs-build` : Re-trigger the docs validation. (use unformatted text in the comment!)

elasticmachine commented 1 week ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

kpatticha commented 5 days ago

@elasticmachine merge upstream

kibanamachine commented 5 days ago

merge conflict between base and head

kpatticha commented 5 days ago

@elasticmachine merge upstream

kibana-ci commented 5 days ago

:green_heart: Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
logsDataAccess 2 7 +5

Canvas Sharable Runtime

The Canvas "shareable runtime" is an bundle produced to enable running Canvas workpads outside of Kibana. This bundle is included in third-party webpages that embed canvas and therefor should be as slim as possible.

id before after diff
module count - 5407 +5407
total size - 8.8MB +8.8MB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
logsDataAccess 2 1 -1
Unknown metric groups #### API count | id | [before](https://github.com/elastic/kibana/commit/9d1a37d2db1c5616ad2619fde2d85afd0d102170) | [after](https://github.com/elastic/kibana/commit/03e2dc71867466aa524969720be6ca77a14b64dc) | diff | | --- | --- | --- | --- | | `logsDataAccess` | 2 | 7 | +5 |

History

To update your PR or re-run it, just comment with: @elasticmachine merge upstream