Tyler Benson
2c240754fc
Additional testing for split-by-instance config
...
Some DB’s don’t define an instance, so verify the setting has no effect for them.
2019-06-14 10:08:17 -07:00
Nikolay Martynov
822efd5df5
Skip couchbase 2.7.5 version in muzzle
...
This should make muzzle test pass. 2.7.5 was broken during its release.
2019-06-06 17:50:58 -04:00
Nikolay Martynov
0851dc4826
Undo Couchbase gradle hack
...
Looks like 2.7.5 has now fully propagated through the mirrors so we
can revert hack that made things compile.
2019-06-06 17:44:59 -04:00
Tyler Benson
d900289ae0
Try again…
2019-05-17 10:01:37 -07:00
Tyler Benson
b6ba1997ae
Add constraint for muzzle too
2019-05-17 09:32:15 -07:00
Nikolay Martynov
d01832a94d
Do not try to build against couchbase 2.7.5 since it didn't sync up with mirrors yet
2019-05-17 11:27:35 -04:00
Nikolay Martynov
6fd630831f
Stop using `scopeManager().activate(span, true)`
2019-04-08 11:54:47 -04:00
Nikolay Martynov
f3e1eb4f5d
Make sure span is opened and closed with scope in Couchbase
2019-04-05 11:13:53 -04:00
Tyler Benson
50279d64fe
Span type should only be an attribute and not inherited
...
Previously we were inheriting from the parent and also often setting as a tag.
Apply default span assertion to verify the spanType is being checked properly. (Include error state too.)
2019-02-28 12:39:51 -08:00
Tyler Benson
93e38f6f0d
Rename and static import decorators instance
...
In the instrumentation it reads better.
2019-02-22 13:44:34 -08:00
Tyler Benson
9c8e689b6d
Add decorator for couchbase instrumentation
2019-02-21 15:27:26 -08:00
Tyler Benson
bbcd2f6949
Move other Utils to utils package
2019-02-05 11:43:05 -08:00
Tyler Benson
fe52180bfc
Apply proper generic signature for Instrumenter.Default transformers()
...
Previously it was missing the MethodDescription portion.
2019-01-04 15:25:12 -08:00
Tyler Benson
cbb29069fe
Apply component tag more consistently
2018-11-14 11:31:40 -08:00
Nikolay Martynov
ff9e5ba99f
Increase couchbase timeout
...
It looks like Couchbase is often really slow to start.
2018-10-26 17:08:36 -04:00
Tyler Benson
432ce89a07
Add assertTraces to AgentTestRunner with implied argument
...
This will also help with auto complete when writing tests.
2018-10-15 10:19:00 +10:00
Nikolay Martynov
f71192266c
Rework the way multi-jvm tests work
...
To allow some JVMs runs only subset of tests
2018-10-02 13:20:19 -04:00
Nikolay Martynov
84bef23698
Increase timeouts in Couchbase to make tests more stable
2018-09-26 13:47:37 -04:00
Tyler Benson
bcec2e5f97
Add span.type and remove bucket name from resource.name
2018-09-12 10:04:13 +10:00
Tyler Benson
f5590e97bd
Cleanup tests
2018-09-05 14:46:22 +10:00
Tyler Benson
444cbecba5
Use CouchbaseMock instead of actual server
...
Seems way more reliable/consistent for test scenarios.
2018-09-05 14:46:22 +10:00
Tyler Benson
0655ef208f
Further attempt at making tests reliable.
2018-09-05 14:46:22 +10:00
Nikolay Martynov
422ded1d5b
Configure Spring Couchbase client with proper couchbase environment
...
It looks like Couchbase container may have some of the ports mapped
randomly. This means it is possible default environment settings might
not work - and this is what Spring is using by default. This change
makes Spring use environment provided by cluster container. This fixes
tests when they are run locally (at least for macos).
2018-09-05 14:46:22 +10:00
Tyler Benson
2c4366cae7
Retry on failure
2018-09-05 14:46:22 +10:00
Tyler Benson
9ea1883015
Separate out bucket and cluster instrumentation
...
Include bucket name in bucket spans
2018-09-05 14:46:22 +10:00
Tyler Benson
63091c9350
Review fixes
2018-09-05 14:46:22 +10:00
Tyler Benson
2761615436
Couchbase instrumentation
2018-09-05 14:46:22 +10:00