Added example of an Event (#538)
parent
484241a016
commit
9833c48ed1
3 changed files with 77 additions and 0 deletions
@ -0,0 +1,75 @@ |
||||
{ |
||||
"resourceLogs": [ |
||||
{ |
||||
"resource": { |
||||
"attributes": [ |
||||
{ |
||||
"key": "service.name", |
||||
"value": { |
||||
"stringValue": "my.service" |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
"scopeLogs": [ |
||||
{ |
||||
"scope": { |
||||
"name": "my.library", |
||||
"version": "1.0.0", |
||||
"attributes": [ |
||||
{ |
||||
"key": "my.scope.attribute", |
||||
"value": { |
||||
"stringValue": "some scope attribute" |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
"logRecords": [ |
||||
{ |
||||
"timeUnixNano": "1544712660300000000", |
||||
"observedTimeUnixNano": "1544712660300000000", |
||||
"severityNumber": 9, |
||||
"attributes": [ |
||||
{ |
||||
"key": "event.name", |
||||
"value": { |
||||
"stringValue": "browser.page_view" |
||||
} |
||||
} |
||||
], |
||||
"body": { |
||||
"kvlistValue": [ |
||||
{ |
||||
"key": "type", |
||||
"value": { |
||||
"intValue": "0" |
||||
} |
||||
}, |
||||
{ |
||||
"key": "url", |
||||
"value": { |
||||
"stringValue": "https://www.guidgenerator.com/online-guid-generator.aspx" |
||||
} |
||||
}, |
||||
{ |
||||
"key": "referrer", |
||||
"value": { |
||||
"stringValue": "https://wwww.google.com" |
||||
} |
||||
}, |
||||
{ |
||||
"key": "title", |
||||
"value": { |
||||
"stringValue": "Free Online GUID Generator" |
||||
} |
||||
} |
||||
] |
||||
} |
||||
} |
||||
] |
||||
} |
||||
] |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue