How to add api gateway api key to lambda APM?

alex_123123
Tue, 01 Nov 2022 02:10:32 +0000
APM

Kibana version: 8.4.1

Elasticsearch version: 8.4.1

APM Server version: 8.4.1

APM Agent language and version: nodejs, elastic-apm-extension-ver-1-1-0-x86_64, elastic-apm-node-ver-3-38-0

Browser version: /

Original install method (e.g. download page, yum, deb, from source, etc.) and version: lambda layers

Fresh install or upgraded from other version?

Is there anything special in your setup?

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): There is an AWS Api-gateway with API key placed between lambda and APM server. Is there any ways to add custom header (E.G. api-gateway key) on APM agent? So that every APM agent's request towards APM server will contain api-gateway key in the header.

Errors in browser console (if relevant): 403 return code from api-gateway

Provide logs and/or server output (if relevant):

4 posts - 4 participants