From 759bcb6a33ae8dc50266e6255b9db5a9c50306b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Karlovi=C4=87?= Date: Tue, 30 Apr 2024 12:20:14 +0200 Subject: [PATCH] fix: correct path to autoloader in metrics/getting-started --- examples/metrics/getting_started.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/metrics/getting_started.php b/examples/metrics/getting_started.php index 6ba39ec08..f4270bddc 100644 --- a/examples/metrics/getting_started.php +++ b/examples/metrics/getting_started.php @@ -9,7 +9,7 @@ use OpenTelemetry\SDK\Metrics\MetricReader\ExportingReader; use OpenTelemetry\SDK\Resource\ResourceInfoFactory; -require 'vendor/autoload.php'; +require_once __DIR__ . '/../../vendor/autoload.php'; /** * Basic async/observable metrics generation example. This uses the console