Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apm-lambda-extension/extension/process_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func ProcessEnv() *extensionConfig {
Log.Fatal("please set ELASTIC_APM_LAMBDA_APM_SERVER, exiting")
}
if config.apmServerSecretToken == "" && config.apmServerApiKey == "" {
Log.Fatal("please set ELASTIC_APM_SECRET_TOKEN or ELASTIC_APM_API_KEY, exiting")
Log.Warn("ELASTIC_APM_SECRET_TOKEN or ELASTIC_APM_API_KEY not specified")
}

return config
Expand Down
2 changes: 1 addition & 1 deletion docs/monitoring-aws-lambda.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The following configuration options are particularly relevant for Elastic's APM
This required config option controls where the Lambda extension will ship data. This should be the URL of the final APM Server destination for your telemetry.

=== `ELASTIC_APM_SECRET_TOKEN` or `ELASTIC_APM_API_KEY`
One of these needs to be set as the authentication method that the extension uses when sending data to the URL configured via `ELASTIC_APM_LAMBDA_APM_SERVER`.
One of these needs to be set as the authentication method that the extension uses when sending data to the URL configured via `ELASTIC_APM_LAMBDA_APM_SERVER`. Sending data to the APM Server if none of these options is set is possible, but your APM agent must be allowed to send data to your APM server in https://www.elastic.co/guide/en/apm/guide/current/configuration-anonymous.html[anonymous mode].

=== `ELASTIC_APM_SERVICE_NAME`
The configured name of your application or service. The APM Agent will use this value when reporting data to the APM Server. If unset, the APM Agent will automatically set the value based on the Lambda function name. Use this config option if you want to group multiple Lambda functions under a single service entity in APM.
Expand Down