Skip to content

Instantly share code, notes, and snippets.

@digressionary
Created February 5, 2019 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digressionary/3ffbca67eb0940cb2992e5475aace8ab to your computer and use it in GitHub Desktop.
Save digressionary/3ffbca67eb0940cb2992e5475aace8ab to your computer and use it in GitHub Desktop.
example APM entry missing kubernetes info
{
"_index": "apm-6.6.0-transaction-2019.02.05",
"_type": "doc",
"_id": "_NQwv2gBdHGWKN3SWwtq",
"_version": 1,
"_score": null,
"_source": {
"@timestamp": "2019-02-05T19:43:51.799Z",
"host": {
"name": "apm-server-f7779dc8d-tzccq"
},
"beat": {
"version": "6.6.0",
"name": "apm-server-f7779dc8d-tzccq",
"hostname": "apm-server-f7779dc8d-tzccq"
},
"processor": {
"name": "transaction",
"event": "transaction"
},
"transaction": {
"id": "8ff3550f-03ee-4c1a-9c56-71e58d4c0f5c",
"name": "GET /v1/partner/:partner_id/feed/full_bundle",
"duration": {
"us": 1425076
},
"type": "request",
"result": "HTTP 2xx",
"sampled": true
},
"context": {
"process": {
"pid": 40,
"title": "node",
"argv": [
"/usr/local/bin/node",
"/usr/app/src/index.js"
]
},
"request": {
"http_version": "1.1",
"method": "GET",
"url": {
"raw": "/v1/partner/1483/feed/full_bundle",
"protocol": "http:",
"hostname": "localhost",
"pathname": "/v1/partner/1483/feed/full_bundle",
"full": "http://localhost/v1/partner/1483/feed/full_bundle"
},
"socket": {
"encrypted": false,
"remote_address": "::ffff:10.1.20.151"
},
"headers": {
"cookie": "PHPSESSID=de3c4e8f764704ca7ab013ab5c14d117; YII_CSRF_TOKEN=[REDACTED]",
"x-envoy-internal": "true",
"x-request-id": "2c9e9ea5-acfd-4c7b-90d7-b867a34f9ca4",
"postman-token": "566184b9-5358-4c30-98c2-beb7dd022e5c",
"content-length": "0",
"x-forwarded-for": "192.168.65.3",
"authorization": "[REDACTED]",
"host": "localhost",
"accept": "*/*",
"x-envoy-expected-rq-timeout-ms": "30000",
"cache-control": "no-cache",
"accept-encoding": "gzip, deflate",
"user-agent": "PostmanRuntime/7.6.0",
"x-forwarded-proto": "http"
}
},
"response": {
"status_code": 200,
"headers": {
"content-type": "application/xml; charset=utf-8",
"x-dns-prefetch-control": "off",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "1; mode=block",
"content-length": "193042",
"etag": "W/\"2f212-UljeenYoWDHq5V6It9MTJUoG8UQ\"",
"date": "Tue, 05 Feb 2019 19:43:53 GMT",
"x-content-type-options": "nosniff",
"x-download-options": "noopen",
"connection": "keep-alive",
"access-control-allow-origin": "*",
"strict-transport-security": "max-age=15552000; includeSubDomains"
}
},
"service": {
"language": {
"name": "javascript"
},
"runtime": {
"name": "node",
"version": "v8.3.0"
},
"framework": {
"name": "express",
"version": "4.16.3"
},
"name": "mrss-out-local",
"agent": {
"version": "1.12.0",
"name": "nodejs"
}
},
"user": {
"username": "user"
},
"system": {
"ip": "10.1.20.175",
"hostname": "mrss-out-vemba-mrss-out-7fb75bc868-clwjz",
"architecture": "x64",
"platform": "linux"
}
}
},
"fields": {
"@timestamp": [
"2019-02-05T19:43:51.799Z"
]
},
"sort": [
1549395831799
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment