Skip to content

Commit

Permalink
Remove experimental functions file
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Dec 20, 2023
1 parent 7c6d596 commit 7646e61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
},
"autoload": {
"files": [
"src/functions.php",
"src/functions_experimental.php"
"src/functions.php"
],
"psr-4": {
"Sentry\\": "src/"
Expand Down
6 changes: 0 additions & 6 deletions src/Metrics/Metrics.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
use Sentry\Metrics\Types\GaugeType;
use Sentry\Metrics\Types\SetType;

/**
* This is an experimental feature and should neither be used nor considered stable.
* The API might change at any time without prior warning.
*
* @internal
*/
final class Metrics
{
/**
Expand Down
6 changes: 6 additions & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Sentry;

use Sentry\Metrics\Metrics;
use Sentry\State\Scope;
use Sentry\Tracing\PropagationContext;
use Sentry\Tracing\SpanContext;
Expand Down Expand Up @@ -268,3 +269,8 @@ function continueTrace(string $sentryTrace, string $baggage): TransactionContext

return TransactionContext::fromHeaders($sentryTrace, $baggage);
}

function metrics(): Metrics
{
return Metrics::getInstance();
}
18 changes: 0 additions & 18 deletions src/functions_experimental.php

This file was deleted.

0 comments on commit 7646e61

Please sign in to comment.