This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.hello = async (event) => { | |
return { | |
statusCode: 200, | |
body: JSON.stringify( | |
{ | |
message: 'Go Serverless v3.0! Your function executed successfully!', | |
input: event, | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package co.elastic.apm.example.webserver.plugin; | |
import co.elastic.apm.agent.sdk.ElasticApmInstrumentation; | |
import io.micrometer.core.instrument.Metrics; | |
import io.micrometer.core.instrument.simple.SimpleMeterRegistry; | |
import net.bytebuddy.asm.Advice; | |
import net.bytebuddy.description.method.MethodDescription; | |
import net.bytebuddy.description.type.TypeDescription; | |
import net.bytebuddy.matcher.ElementMatcher; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resource SchemaURL: https://opentelemetry.io/schemas/1.9.0 | |
Resource attributes: | |
-> container.id: STRING(b0bef663a9fadeb7d49a57cfd633baa12c8a79356fb0ff2312d455c948376c39) | |
-> host.arch: STRING(amd64) | |
-> host.name: STRING(b0bef663a9fa) | |
-> os.description: STRING(Linux 5.10.25-linuxkit) | |
-> os.type: STRING(linux) | |
-> process.command_line: STRING(/usr/local/openjdk-18:bin:java -javaagent:/app/opentelemetry-javaagent.jar) | |
-> process.executable.path: STRING(/usr/local/openjdk-18:bin:java) | |
-> process.pid: INT(1) |