Slackbot
05/28/2023, 12:36 PMPranay
Ravi B
05/29/2023, 1:27 PMRavi B
05/29/2023, 1:40 PMRavi B
05/30/2023, 6:45 AMPrashant Shahi
05/30/2023, 7:28 AMlaravel
should look like this: http://localhost:3301/services/laravelRavi B
05/30/2023, 8:10 AMLaravel/Laravel
I goes to this URL.
<http://localhost:3301/services/laravel>
This URL gives me something went wrong.
If I call this API <http://localhost:3301/api/v1/service/overview>
With Payload:
{"start":"1685367383735000000","end":"1685369183735000000","service":"laravel/laravel","step":60,"tags":[]}
I am getting 200 status with result.
It seems like API is okay with Laravel/Laravel
but react application gives me 404
@Prashant ShahiPrashant Shahi
05/30/2023, 10:11 AM/
being part of the service name.
can you update the service name to include only alphanumeric characters?
cc @Ankit Nayan @Palash GuptaRavi B
05/30/2023, 10:13 AMname
comes from composer.json
composer.json require /
in the name key. like ‘anyvendorName/app-name’
I will check If that can be removedRavi B
05/30/2023, 10:14 AMAnkit Nayan
/
cannot be part of service name todayPrashant Shahi
05/30/2023, 10:17 AMAnkit Nayan
OTEL_SERVICE_NAME
env or OTEL_RESOURCE_ATTRIBUTES=service.name=<app_name>
Ravi B
05/30/2023, 10:18 AMRavi B
05/30/2023, 10:19 AMOTEL_SERVICE_NAME=signoz-php-app php FILENAME.php
Can’t we set this in code somewherePrashant Shahi
05/30/2023, 10:20 AMputenv('OTEL_SERVICE_NAME=laravel-app');
Ravi B
05/30/2023, 10:20 AMPrashant Shahi
05/30/2023, 10:21 AMRavi B
05/30/2023, 10:22 AMRavi B
05/31/2023, 3:28 AMPrashant Shahi
05/31/2023, 9:05 AMRavi B
05/31/2023, 9:36 AMRavi B
06/01/2023, 3:13 AMRavi B
06/03/2023, 8:32 AMPrashant Shahi
06/05/2023, 12:58 PM