ForgeOps-Tracker
view release on metacpan or search on metacpan
lib/ForgeOps/Tracker/Configuration.pm view on Meta::CPAN
};
}
sub api_key {
my ($self) = @_;
my $parsed = $self->_parsed_dsn;
return undef unless $parsed && defined $parsed->{api_key} && length $parsed->{api_key};
return $parsed->{api_key};
}
# The ingestion URL with credentials stripped out (they travel as the Authorization header
# instead, never embedded in the request URI).
sub ingestion_uri {
my ($self) = @_;
my $parsed = $self->_parsed_dsn;
return undef unless $parsed;
return $parsed->{ingestion_uri};
}
# Same derivation as ingestion_uri, with the trailing "/events" swapped for
# "/performance_samples": one DSN, two more endpoints alongside deliver's own, matching the Ruby
( run in 3.179 seconds using v1.01-cache-2.11-cpan-007c89162af )