承接 splunk/tracer 相关项目开发

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

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

splunk/tracer

Composer 安装命令:

composer require splunk/tracer

包简介

Splunk instrumentation API

README 文档

README

MIT license

The SplunkTracing distributed tracing library for PHP.

Installation

composer require splunk/tracer

The splunk/tracer package is available here on packagist.org.

Getting started

<?php

require __DIR__ . '/vendor/autoload.php';

SplunkTracing::initGlobalTracer('examples/trivial_process', '{your_access_token}');

$span = SplunkTracing::startSpan("trivial/loop");
for ($i = 0; $i < 10; $i++) {
    $span->logEvent("loop_iteration", $i);
    echo "The current unix time is " . time() . "\n";
    usleep(1e5);
    $child = SplunkTracing::startSpan("child_span", array(parent => $span));
    usleep(2e5);
    $child->logEvent("hello world");
    $child->finish();
    usleep(1e5);
}
$span->finish();

See lib/api.php for detailed API documentation.

Developer Setup

brew install composer
make install
make test

This library is the Splunk binding for OpenTracing. See the OpenTracing PHP API for additional detail.

License

The Splunk Tracer for PHP is licensed under the MIT License. Details can be found in the LICENSE file.

Third-party libraries

This is a fork of the PHP tracer from Lightstep, which is also licensed under the MIT License. Links to the original repository and license are below:

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固