OpenTelemetry PHP

MetricExporterPrometheus
in package
implements ComponentProvider

FinalYes

Table of Contents

Interfaces

ComponentProvider
A component provider is responsible for interpreting configuration and returning an implementation of a particular type.

Methods

createPlugin()  : T
getConfig()  : ArrayNodeDefinition
Returns an array node describing the properties of this component provider.

Methods

createPlugin()

public createPlugin(array{host: string, port: int, without_units: bool, without_type_suffix: bool, without_scope_info: bool} $properties, Context $context) : T
Parameters
$properties : array{host: string, port: int, without_units: bool, without_type_suffix: bool, without_scope_info: bool}
$context : Context

context that should be used to resolve component plugins

Return values
T

created component, typehint has to specify the component type that is provided by this component provider


        
On this page

Search results