定制 palzin-apm/palzin-laravel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

palzin-apm/palzin-laravel

最新稳定版本:24.8.1

Composer 安装命令:

composer require palzin-apm/palzin-laravel

包简介

Real-Time monitoring Laravel package using Palzin Monitor (APM)

README 文档

README

Latest Stable Version Total Downloads License

Palzin Monitor offers real-time performance monitoring capabilities that allow you to effectively monitor and analyze the performance of your applications. With Palzin Monitor, you can capture and track all requests without the need for any code modifications. This feature enables you to gain valuable insights into the impact of your methods, database statements, and external requests on the overall user experience.

Requirements

  • PHP >= 7.2.0
  • Laravel >= 5.5

Install

To install the latest version of Palzin Monitor (APM) use below command:

composer require palzin-apm/palzin-laravel

For Lumen

If your application is based on Lumen you need to manually register the PalzinServiceProvider:

$app->register(\Palzin\Laravel\PalzinServiceProvider::class);

Configure the Ingestion Key

First put the Ingestion Key in your environment file:

PALZIN_APM_INGESTION_KEY=[your ingestion key]

You can obtain an PALZIN_APM_INGESTION_KEY creating a new project in your Palzin APM account.

Attach the Middleware

To monitor web requests you can attach the WebRequestMonitoring in your http kernel or use in one or more route groups based on your personal needs.

/**
 * The application's route middleware groups.
 *
 * @var array
 */
protected $middlewareGroups = [
    'web' => [
        ...,
        \Palzin\Laravel\Middleware\WebRequestMonitoring::class,
    ],

    'api' => [
        ...,
        \Palzin\Laravel\Middleware\WebRequestMonitoring::class,
    ]

Test everything is working

Run the command below:

php artisan palzin:test

Go to https://www.palzin.app/ to explore your data.

Official documentation

Go to the official documentation

LICENSE

This package is licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固