Website
Usage
To install the latest version of contributte/newrelic
use Composer.
composer require contributte/newrelic
Documentation
For details on how to use this package, check out our documentation.
Versions
State | Version | Branch | Nette | PHP |
---|---|---|---|---|
dev | ^9.0 |
master |
3.1 | >=7.2 |
stable | ^8.0 |
master |
3.0 | >=7.1 |
stable | ^7.0 |
master |
2.4 | >=5.6 |
Development
See how to contribute to this package.
This package is currently maintaining by these authors.
Consider to support contributte development team. Also thank you for using this package.
-
v9.0.0-alpha1 9.0.0-alpha1
New features
- Added support for contributte/console (thanks to @RiKap)
- Improved console action name when not using contributte/console (thanks to @RiKap)
- Added
Agent
class for smarter work with NewRelic extension. NewRelic functions aren't called directly now. - Added tests for major things
- Added PHPStan static analysis
- Use nette/schema for extension config validation
- Added
WebTransactionNameFormatter
andCliTransactionNameFormatter
interfaces which you can implement to format transaction names using your own style. - Added
RUMControlFactory
andRUMControlTrait
for easier registration ofHeaderControl
andFooterControl
Changes
- Dropped PHP 7.1 support
- Minimum
nette/application
version is now^3.1
- Transaction name is now created using
DefaultWebTransactionNameFormatter
which appendsPresenter::DEFAULT_ACTION
value when
action is not present in presenter parameters [BC break] - Removed
Bootstrap
class [BC break] - Removed custom
Metrics
,Parameters
,Tracers
classees [BC break] - Removed RUM
User
class [BC break] - Removed
actionKey
config option, extension is now usingPresenter::ACTION_KEY
- Classes
HeaderControl
andFooterControl
are no longer registered as services [BC break]
-
v8.1.0 8.1.0
- DI: Added config schema validation
- Added basic tests
- Removed AppName to presenter mapping feature
- Removed deprecated Logger log level feature
-
v0.9.0 v0.9.0
First bump!
👊 -
v1.1.1 v1.1.1
Bumped!
🛑 Diff: v1.1.0...v1.1.1
Changes:
-
v1.2.0 v1.2.0
Bumped!
🍒 Diff: v1.1.2...v1.2.0
Changes:
-
v1.4.0 v1.4.0
Bumped!
🏕️ Diff: v1.3.0...v1.4.0
Changes:
-
v1.5.0 v1.5.0
Bumped!
🛃 Diff: v1.4.0...v1.5.0
Changes:
-
v1.6.0 v1.6.0
Bumped!
🏨 Diff: v1.5.0...v1.6.0
Changes:
-
v1.6.1 v1.6.1
Bumped!
🇦🇮 Diff: v1.6.0...v1.6.1
Changes:
-
v2.0.0 v2.0.0
Bumped!
😵 Diff: v1.6.1...v2.0.0
Changes:
- Fixed custom parameters and tracer definition [2c6a455] (@kukulich)
- New Relic can be enabled only for certain ratio of requests [c2a6c35] (@kukulich)
- Renamed option rum.autoEnabled to rum.enabled, Added option to disable RUM completely [c2d515d] (@kukulich)
- RUM can be enabled only for certain ratio of users [7c729c0] (@kukulich)
- Added custom metrics support [c15c816] (@kukulich)
- Moved custom options to own namespace [5b0303c] (@kukulich)
- Add map for more appname in one app code [5c33d7d] (@Vrtak-CZ)
- Move callbacks to own namespace [c93555e] (@Vrtak-CZ)
- Code cleanup [89f77f6] (@Vrtak-CZ)
-
v2.0.1 v2.0.1
Bumped!
📪 Diff: v2.0.0...v2.0.1
Changes:
-
v2.0.2 v2.0.2
Bumped!
🍙 Diff: v2.0.1...v2.0.2
Changes:
-
v2.0.3 v2.0.3
Bumped!
😙 Diff: v2.0.2...v2.0.3
Changes:
-
v3.0.1 v3.0.1
Bumped!
➕ Diff: v3.0.0...v3.0.1
Changes:
-
v3.0.2 v3.0.2
Bumped!
❤️ Diff: v3.0.1...v3.0.2
Changes:
-
v3.0.3 v3.0.3
Bumped!
👩👩👦 Diff: v3.0.2...v3.0.3
Changes:
-
v4.0.1 v4.0.1
Bumped!
🏮 Diff: v4.0.0...v4.0.1
Changes:
-
v4.0.2 v4.0.2
Bumped!
📥 Diff: v4.0.1...v4.0.2
Changes:
-
v8.0.0 8.0.0
- Updated to Nette
3.0
. Nette2.4
will be supported only in7.x
releases. - Dropped PHP
5.6
and7.0
support. - Added PHP
7.3
support.
- Updated to Nette
-
v7.0.0 7.0.0
- dropped Nette 2.3 support
- dropped PHP 5.5 support
- Removed dependency on Nette\Object
- added PHP 7.1 and 7.2 support
-
v6.1.0 6.1.0
- added support for Throwable
-
v6.0.0 6.0.0
- added Tracy 2.4.x support
- added Nette 2.4.x support
- removed Tracy 2.2.x support
- removed PHP 5.4.x support
- removed ratio support (both global and RUM)
- fixed PHP 7.0 compatability
- improve CS
-
v5.0.0 5.0
- added Nette 2.3.x support
- removed PHP 5.3.x support
- added Travis with lint & CS
-
v4.0.0 Nette 2.2
Initial support for Nette 2.2.x
Tracy support splitted to separate repo https://github.com/Vrtak-CZ/NewRelic-Tracy
-
v3.0.0 Nette 2.1
Nette 2.1.x compatability
-
v1.3.0 v1.3.0
- add more options see README.md file
- cleanup
-
v1.1.2 v1.1.2
bug fix release
-
v1.1.0 v1.1.0
- remove newrelic dependency from composer
- add check if is newrelic extension enabled
-
v1.0.0 First Stable
- Some fixies
- add support for parameters
- add support for Realtime User Monitoring