Download the PHP package grzegorzdrozd/otel-auto-redis without Composer

On this page you can find all versions of the php package grzegorzdrozd/otel-auto-redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package otel-auto-redis

OpenTelemetry redis|predis|credis auto-instrumentation

Please read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to install and configure the extension and SDK.

Overview

Auto-instrumentation hooks are registered via Composer, and spans will automatically be created for selected redis operations (by default: all Redis commands).

Configuration

You can disable the extension using runtime configuration:

Module specific configuration

Disable instrumentation for specific commands

You can disable instrumentation for specific commands. This can be useful if you have some commands that are executed very often and you don't want to create spans for them. This option is disabled by default. Use environment variables to set this option. You can set multiple commands separated by a comma. You can also specify "group" of commands using @. Groups are defined in the src/CommandGroupEnum.php file. List of commands and groups can be found in the src/AbstractInstrumentation.php file. You can define commands individually for each supported extension.

Tracking connection details for clustered connection

In Predis you can configure a clustered connection (for replication, sharding, etc.). In this case, there is no clear way to see which server executed a command. Changing this setting to true will use Predis methods to get information about which connection executed the command. Optionally, when cluster mode is set to redis, it will make a second call to Redis to determine this information. This will make your code slower. This option is disabled by default.


All versions of otel-auto-redis with dependencies

PHP Build Version
Package Version
Requires colinmollenhour/credis Version ^1.16
ext-opentelemetry Version *
guzzlehttp/guzzle Version ^7.9
guzzlehttp/psr7 Version ^2.7
open-telemetry/api Version ^1.0
open-telemetry/exporter-otlp Version ^1.2
open-telemetry/sem-conv Version ^1.24
php Version ^8.2
symfony/polyfill-mbstring Version ^1.31
symfony/cache Version ^7.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package grzegorzdrozd/otel-auto-redis contains the following files

Loading the files please wait ....