承接 iqtool/ciotel 相关项目开发

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

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

iqtool/ciotel

最新稳定版本:0.1

Composer 安装命令:

composer require iqtool/ciotel

包简介

OpenTelemetry Integration for CodeIgniter 4

README 文档

README

OpenTelemetry Integration for CodeIgniter 4.

Description

This package provides seamless integration of OpenTelemetry with CodeIgniter 4 applications. It enables automatic tracing of incoming requests, database queries, and integrates with the CodeIgniter logging system.

Features

  • Automatic Request Tracing: Automatically instrument incoming HTTP requests using OtelFilter.
  • Database Query Tracing: Automatically trace database queries including SQL statements and execution time using OtelDbListener.
  • Log Integration: Pushes CodeIgniter logs (log_message()) to OpenTelemetry via OtelHandler.
  • Zero Configuration: Uses CodeIgniter 4's Registrar for auto-discovery of events, filters, and services.

Installation

Install the package via Composer:

composer require iqtool/ciotel

Configuration

The package is designed to work out-of-the-box. It uses standard OpenTelemetry environment variables for configuration (e.g., OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME).

Database Tracing

Database tracing spans will automatically include:

  • db.system: Trace driver (e.g. mysql, sqlite).
  • db.statement: The executed SQL query.
  • db.name: Database name.
  • db.hostname: Database host.

License

This project is licensed under the MIT License - see the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固