Comments (7)
I think it is about cli config? Can you post the output of php --ini
and maybe share your value for Loaded Configuration File
? It works for me tho.
from opencensus-php.
It's default php.ini installed by phpbrew. Which values do you think cause this?
from opencensus-php.
from opencensus-php.
I installed ext-intl, but the result was the same
from opencensus-php.
I can reproduce this only if the extension is enabled. @tmatsuo is that the case for you too?
from opencensus-php.
Yes
from opencensus-php.
The issue here was that the ExtensionExporter
was supplying a startTime
as null
as an option to opencensus_trace_begin
. The extension was taking the double value of null and setting it as the span's start time rather than grabbing the current timestamp.
This was fixed in 2 places (so can be fixed by updating either the extension or the php library).
- In the library, we set the default time to
microtime(true)
- available in composer version >= 0.2.3 - In the extension, we only take the provided
startTime
option if it's an int or double (assumed to be a unix timestamp) - available in PECL version >= 0.1.4
from opencensus-php.
Related Issues (20)
- Serialization error for Traces between PHP and Go daemon
- Segfault in thread-safe PHP with `parallel` module
- `make test` fails in PHP 7.4
- Version bump HOT 1
- Build error on Mac from Pecl
- Update dependencies to allow Ramsey/Uuid version 4 HOT 4
- Addressing tracing in processes that fork. HOT 1
- Memory bloat with PDO instrumentation HOT 2
- Clerical mistake in Documentation
- php7.4 compatible code release branch HOT 1
- Permission denied when calling sem_* functions on batch mode HOT 1
- PHP 8 compatibility? HOT 12
- Please tag v0.6.0 HOT 4
- Laravel:load() Error HOT 1
- PHP 8.1.0alpha1 - 1 failed test HOT 5
- PHP 7.0 - ton of segfaults in test suite HOT 3
- Version clarification HOT 1
- 0.3.0 can't be build on Windows HOT 1
- Segfaulting without tracing enabled. HOT 5
- JIT is incompatible with OpenCensus Extension HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencensus-php.