承接 firevel/request-logger 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

firevel/request-logger

Composer 安装命令:

composer require firevel/request-logger

包简介

GCP Request Logger

README 文档

README

The GCP Request Logger package is designed to store logs of every App Engine request within BigQuery. This includes detailed information such as peak memory and SQL queries. The primary purpose of this tool is to optimize memory usage within the App Engine.

Installation

Follow the steps below to successfully install the package:

  1. Install the package via composer:
composer require firevel/request-logger
  1. Propagate the request-logger.php configuration file by executing the following command:
php artisan vendor:publish --provider="Firevel\RequestLogger\Providers\RequestLoggerServiceProvider"
  1. Establish a BigQuery dataset named requests and create a table api. Ensure to set up the table schema as in schema.json file.

  2. Assign the BigQuery Data Editor role to your App Engine service account ({project}@appspot.gserviceaccount.com) for appropriate access.

  3. Add \Firevel\RequestLogger\Middleware\LogRequest::class middleware into your App\Http\Kernel.php file.

Configuration

Additional configurations can be set up in the config/request-logger.php file.

How it works.

Post installation and middleware inclusion, every request will be logged and stored in the api table within your requests dataset in the BigQuery. This logging will help you gain insights and further enhance the performance of your App Engine.

统计信息

  • 总下载量: 614
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固