Pavol Loffay
137df965ac
Make muzzle task depend on instrumentation project runtimeclasspath ( #1408 )
...
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-21 11:46:48 +03:00
Nikita Salnikov-Tarnovski
9c97941580
Update build-grpc-smoke-dist.yaml ( #1437 )
...
Fix description
2020-10-21 11:45:37 +03:00
Anuraag Agrawal
a6e0e27ad4
Remove usage of Contexts from grpc instrumentation. ( #1426 )
...
* Fix grpc instrumentation cannot be applied due to muzzle error and add smoke test.
* Add workflow for building smoke test image
* Revert debug logging
* Java versions
2020-10-21 09:58:45 +09:00
Mateusz Rzeszutek
f077b23c9f
Lettuce 5.1 instrumentation should log normalised commands as db.statement ( #1405 )
2020-10-20 14:57:23 -07:00
Nikita Salnikov-Tarnovski
a5475b23a4
Update grpc-netty version ( #1428 )
2020-10-20 14:56:30 -07:00
Trask Stalnaker
8954823b90
Fix span name populated by JAX-RS instrumentation ( #1425 )
...
* Fix span name populated by jaxrs instrumentation
* fix
2020-10-20 15:34:10 +03:00
Sergei Malafeev
1674b46d4a
fix finding SpanExporterFactory by exporterName with underscore e.g. "otlp_span" ( #1404 )
...
* #1401 fix finding SpanExporterFactory by exporterName with underscore e.g. "otlp_span"
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* #1401 change exporterName of "otlp_span" and "otlp_metric" only
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-10-20 14:51:07 +03:00
Nikita Salnikov-Tarnovski
a5aba2d8f5
Use proper case for muzzle skip version check ( #1420 )
2020-10-19 11:49:50 -07:00
Ioannis Mavroukakis
191370657a
capture mongodb database name as mongo-db.name attribute instead of client description ( #1419 )
2020-10-19 10:52:50 -07:00
Ioannis Mavroukakis
df2b6638fe
ipv6 support for modified-URL-like ( #1403 )
...
* ipv6 support for modified-URL-like
* add a "pure" v6 address to the tests
* wrap the regex pattern
* individually comment the regex parts
2020-10-19 17:30:50 +03:00
Trask Stalnaker
bc507ced12
Fix play span name ( #1416 )
2020-10-19 17:23:30 +03:00
Jamal Fanaian
69ea2f7491
Add operation and collection attributes for MongoDB spans ( #1398 )
...
* Add mongodb attributes for operation and collection
* Switch to using SemanticAttributes.MONGODB_COLLECTION
* Remove unused imports
* Fix import order
* Fix formatting
* Update tests to keep more readable closure syntax
* Run spotlessApply
2020-10-19 09:20:46 +03:00
Trask Stalnaker
9e37231662
Remove MoreAttributes ( #1417 )
2020-10-19 14:38:26 +09:00
Trask Stalnaker
57301e3fe7
Rename "integration" to "instrumentation" ( #1412 )
...
* Rename integration to instrumentation
* Revert doc changes, need to wait for release
* spotless
2020-10-19 14:36:30 +09:00
Nikita Salnikov-Tarnovski
29ec067ef5
Actually use requested number of versions to test muzzle ( #1396 )
2020-10-16 11:16:04 -07:00
Trask Stalnaker
6a4d3fca58
Update exporter property names to reflect 0.9.0 release ( #1399 )
2020-10-16 10:52:59 -07:00
Pavol Loffay
f29763d6ef
Add SPI to configure additional bootstrap package prefixes ( #1380 )
...
This feature is useful when a large set of custom instrumentations is
using common classes from a custom package.
2020-10-16 10:27:14 -07:00
Nikita Salnikov-Tarnovski
15e0b2ff32
Run build without warnings ( #1387 )
2020-10-15 16:10:22 -07:00
Anuraag Agrawal
30e75c6d6d
Add server interceptor to end in javaagent because they are run in reverse order. ( #1383 )
2020-10-14 16:50:14 -07:00
Mateusz Rzeszutek
ee0e0a9697
Muzzle improvements: docs, javadocs, renamings and minor refactoring ( #1379 )
2020-10-14 16:49:51 -07:00
Trask Stalnaker
7ecc9bb37b
Rename "auto" to "javaagent" in modules ( #1370 )
2020-10-13 12:32:13 -07:00
Nikita Salnikov-Tarnovski
34d6cc5f60
Update ga-requirements.md ( #1378 )
...
Check off already done things.
2020-10-13 10:09:15 +03:00
Nikita Salnikov-Tarnovski
f23ad29187
Messaging convention reviewed ( #1297 )
...
* Kafka reviewed
* Kafka Streams reviewed
* JMS reviewed
* RabbitMQ reviewed
* Format
* Format
* Polish
* Add comments
* Update parents as per spec proposal
* Cleanup
* Remove Operation enum
* muzzle
* Fix build
* Polish
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-10-13 09:16:58 +03:00
Trask Stalnaker
480147307a
Revert broken png file ( #1377 )
2020-10-12 20:13:37 -07:00
Trask Stalnaker
6218f6a998
Fix running tests locally ( #1365 )
2020-10-11 22:52:16 -07:00
Trask Stalnaker
c739f7db6b
Remove unnecessary scopes ( #1351 )
2020-10-11 14:31:37 -07:00
Trask Stalnaker
1b51d4a6b1
Rename packages ( #1367 )
2020-10-11 13:54:35 -07:00
Trask Stalnaker
ffe9083861
Add org.gradle.workers.max to gradle.properties ( #1366 )
2020-10-11 11:24:23 -07:00
Mateusz Rzeszutek
59784a5b77
Muzzle should recognise mismatch on unimplemented abstract methods at runtime ( #1357 )
2020-10-09 15:03:32 -07:00
Bill O'Neil
c79c235fe4
Update suppressing-instrumentation.md ( #1361 )
2020-10-09 13:12:52 -07:00
Pavol Loffay
3f5c644885
Add Prometheus metric exporter ( #1262 )
2020-10-09 12:06:51 -07:00
John Bley
b34fd49682
Instrument Netty addTask to ensure complete coverage of async Runnables ( #1348 )
...
Newer versions of Netty introduce variants like execute(Runnable, boolean) which
aren't covered by the core execute(Runnable) instrumentation. Fortunately they all
flow through to addTask(Runnable), which allows us to carry the context through properly.
2020-10-09 11:43:33 -07:00
Trask Stalnaker
9605789726
Propagate full context ( #1350 )
...
* Propagate full context
* spotless
2020-10-09 12:58:42 +03:00
Ioannis Mavroukakis
020d445dd3
spotbugs upgrade and fixes for JMS1 tests ( #1346 )
...
* spotless upgrade and fixes for JMS1 tests
* includes missed bugs in KotlinCoroutineTests
* create spotBugs XML reports on CI, HTML locally
* use updatedCodeNarc rules with lowercase tolerance
* remove if and move bool to each property
* allow spotBugs gradle plugin to upgrade the spotbugs tool
* revert to original test
* exclude all kotlin source from spotbugs
* remove default location for spotBugs report
* do not pass null to a Span's attribute
2020-10-09 11:19:00 +03:00
Trask Stalnaker
4624584979
Update spotless config ( #1349 )
...
* Apply spotless to buildSrc
* Apply spotless
* Update spotless version
* Apply spotless
* Another spotless update
* Apply spotless
2020-10-09 07:21:28 +03:00
Anuraag Agrawal
bb26c17733
Don't mount context in gRPC instrumentation since gRPC automatically … ( #1343 )
...
* Don't mount context in gRPC instrumentation since gRPC automatically does it, better.
* Small cleanup
* Try different approach to keep out of bootstrap
2020-10-09 11:52:20 +09:00
Mateusz Rzeszutek
ce4414e9dd
Logging instrumentation: always log sampled flag value ( #1347 )
2020-10-08 10:58:57 -07:00
Mateusz Rzeszutek
409530629f
Refactor all tests that use Config so that they don't fail locally ( #1310 )
...
* Refactor all tests that use Config so that they don't fail locally
* Use ConfigUtils in tests for all config-related things
* Fix spotless and codenarc
* Fix spotless
* PR comments: remove unnecessary config
2020-10-08 20:01:31 +03:00
Mateusz Rzeszutek
aa3bbae200
Document traceId/spanId injection into logs ( #1339 )
...
* Document traceId/spanId injection into logs
* Document traceId/spanId injection into logs
2020-10-08 15:41:07 +03:00
Anuraag Agrawal
9c030591f2
Update to SDK 0.9.1 ( #1344 )
2020-10-08 17:50:25 +09:00
Trask Stalnaker
515fd58bc1
Update to Java 8 and remove duplicate info ( #1341 )
2020-10-07 21:49:43 +03:00
Trask Stalnaker
71511d8dbf
Update codenarc config ( #1335 )
2020-10-07 21:49:07 +03:00
Steve Flanders
17d0519235
Update README ( #1340 )
...
* Update README
- Add a fancy header
- Add contributing information
* Fix badges
* Fix badges
* Make contributors alphabetic
2020-10-07 19:11:44 +03:00
Nikita Salnikov-Tarnovski
79ab34b6ef
Single GHA job to mark PR OK/NOK ( #1333 )
...
* Single GHA job to mark PR OK/NOK
* Debug
* Debug
* Extract smoke test as a separate job
* Debug
* Debug
* Debug
* Debug
* Debug
* Debug
* Debug
* Fix for greedy testcontainers
2020-10-07 15:03:34 +03:00
Anuraag Agrawal
525b3f729d
Split out gRPC library instrumentation. ( #1329 )
...
* Split out gRPC library instrumentation.
* Simpler status
2020-10-07 17:57:28 +09:00
Ioannis Mavroukakis
9523f9ffe6
fix and/or ignore spotbugs errors ( #1325 )
2020-10-06 19:39:17 -07:00
Anuraag Agrawal
46b04087ee
Allow parenting with the AWS Lambda span itself. ( #1323 )
...
* Allow parenting with the AWS Lambda span itself.
* Merge
* Fix propagator only set in library
2020-10-07 09:42:34 +09:00
Pavol Loffay
3952290511
Sort instrumentations before adding them to ByteBuddy ( #1326 )
...
* Control order of adding instrumentations to ByteBuddy
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2020-10-06 11:14:13 -07:00
Nikita Salnikov-Tarnovski
c16520b35b
Removed deprecated set-env usage ( #1334 )
2020-10-06 10:55:51 -07:00
Nikita Salnikov-Tarnovski
a4fab1396b
Fix compatibility problem with Docker for Mac 2.4 ( #1332 )
...
* Fix compatibility problem with Docker for Mac 2.4
* Polish
2020-10-06 13:54:31 +03:00