We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all,
I am using serverless and your plugin bref-extra:newrelic-php-82 I have one Laravel 10.22.0 PHP application.
bref-extra:newrelic-php-82
My issue is that no data is sent to newrelic. The lambda is working great
Example serverless.yaml file, (credentials and stuff are of course removed)
serverless.yaml
frameworkVersion: ^3.18.2 service: api # allows loading .env and using them via $(env:variableName} useDotenv: true provider: name: aws region: eu-central-1 stage: ${opt:stage, 'dev'} deploymentBucket: name: ${ssm:/${self:provider.stage}/${self:provider.region}/infra/serverless_deployment_bucket_name} tags: Environment: ${opt:stage, 'dev'} Project: ${self:custom.serviceName} environment: # our .env is loaded here via the plugin serverless-dotenv-plugin # required because we cannot write anywhere else within the AWS Lambda LARAVEL_STORAGE_PATH: /tmp/storage NEW_RELIC_LICENSE_KEY: "key" custom: serviceName: 'api' package: # Files and directories to exclude from deployment patterns: - '!node_modules/**' - '!public/storage' - '!resources/assets/**' - '!storage/**' - '!tests/**' - '!.env' - '!build/**' - '!dev-tools/**' - '!ext-config/**' - '!queries/**' functions: # This function runs the Laravel website/API web: handler: public/index.php vpc: securityGroupIds: - ${ssm:/${self:provider.stage}/${self:provider.region}/applications/${self:custom.serviceName}/lambda_security_group} subnetIds: ${ssm:/${self:provider.stage}/${self:provider.region}/infra/vpc_private_subnets} runtime: php-82-fpm layers: - ${bref-extra:redis-php-82} - ${bref-extra:gd-php-82} - ${bref-extra:newrelic-php-82} environment: LOGGER_EMAIL_NAME: "[${env:APP_ENV}] API-api logger" NEW_RELIC_APP_NAME: "api-api-${env:APP_ENV}" events: - alb: listenerArn: ${ssm:/${self:provider.stage}/${self:provider.region}/infra/lb_https_listener_arn} multiValueHeaders: true priority: 1 conditions: path: - /api/* plugins: - ./vendor/bref/bref # lambda layer allowing laravel to work within aws serverless - ./vendor/bref/extra-php-extensions # for enabling php extensions via bref - serverless-lift # provides aws functionalities for creating the sqs queue - serverless-dotenv-plugin # loads .env file into serverless variables
I checked
What can be the issue? I am lost on how to make this work
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi all,
I am using serverless and your plugin
bref-extra:newrelic-php-82
I have one Laravel 10.22.0 PHP application.
My issue is that no data is sent to newrelic. The lambda is working great
Example
serverless.yaml
file, (credentials and stuff are of course removed)I checked
What can be the issue? I am lost on how to make this work
The text was updated successfully, but these errors were encountered: