185ad185de 
								
							 
						 
						
							
							
								
								PROF-1037: Capture thread CPU time elapsed in scope ( #1358 )  
							
							
							
						 
						
							2020-04-17 18:14:54 +02:00  
				
					
						
							
							
								 
						
							
								ebb9b5da65 
								
							 
						 
						
							
							
								
								Properly handle resource name for nested JAX-RS calls  
							
							... 
							
							
							
							Previously the last called one was winning.  Now we check if the resource name is already set before applying the new name. 
							
						 
						
							2020-04-16 14:23:16 -04:00  
				
					
						
							
							
								 
						
							
								8e111e49ad 
								
							 
						 
						
							
							
								
								Revert feature to calculate sample rate based on failed reporting  
							
							
							
						 
						
							2020-04-15 11:09:07 -04:00  
				
					
						
							
							
								 
						
							
								07f99a98d8 
								
							 
						 
						
							
							
								
								Merge pull request  #1221  from DataDog/tyler/trace-processor  
							
							... 
							
							
							
							Add TraceProcessor and move some existing functionality to rules 
							
						 
						
							2020-04-14 13:33:46 -04:00  
				
					
						
							
							
								 
						
							
								11c71e1d5d 
								
							 
						 
						
							
							
								
								Avoid setting the error tag  
							
							... 
							
							
							
							and test fixes. 
							
						 
						
							2020-04-14 12:21:51 -04:00  
				
					
						
							
							
								 
						
							
								3aa803489b 
								
							 
						 
						
							
							
								
								Fix tests.  
							
							
							
						 
						
							2020-04-13 18:03:53 -04:00  
				
					
						
							
							
								 
						
							
								96fcb278b6 
								
							 
						 
						
							
							
								
								Add comment  
							
							
							
						 
						
							2020-04-13 17:41:25 -04:00  
				
					
						
							
							
								 
						
							
								d1dc756b12 
								
							 
						 
						
							
							
								
								Fix issues from code reviews.  
							
							
							
						 
						
							2020-04-13 17:06:12 -04:00  
				
					
						
							
							
								 
						
							
								60226086c3 
								
							 
						 
						
							
							
								
								Catch NumberFormatException  
							
							
							
						 
						
							2020-04-13 17:06:12 -04:00  
				
					
						
							
							
								 
						
							
								1fb844ab5f 
								
							 
						 
						
							
							
								
								Make `CommonTaskExecutor` periodic tasks safe  
							
							... 
							
							
							
							* Verify that we can schedule task and catch exceptions.
This should help to avoid additional exceptions on app crash during
  startup.
* Avoid holding strong references from within executor to make sure
  that things can get GCed. 
							
						 
						
							2020-04-13 16:04:31 -04:00  
				
					
						
							
							
								 
						
							
								df97f90fec 
								
							 
						 
						
							
							
								
								Remove OperationDecorator  
							
							
							
						 
						
							2020-04-13 15:55:37 -04:00  
				
					
						
							
							
								 
						
							
								8170f7bc7b 
								
							 
						 
						
							
							
								
								Various fixes  
							
							
							
						 
						
							2020-04-13 15:55:37 -04:00  
				
					
						
							
							
								 
						
							
								7614fa42e0 
								
							 
						 
						
							
							
								
								Move DBStatementAsResourceName to DBStatementRule  
							
							
							
						 
						
							2020-04-13 15:54:52 -04:00  
				
					
						
							
							
								 
						
							
								7650efe5ed 
								
							 
						 
						
							
							
								
								Move AnalyticsSampleRateDecorator to AnalyticsSampleRateRule  
							
							
							
						 
						
							2020-04-13 15:54:51 -04:00  
				
					
						
							
							
								 
						
							
								c288f69e64 
								
							 
						 
						
							
							
								
								Move ResourceNameDecorator to ResourceNameRule  
							
							
							
						 
						
							2020-04-13 13:59:11 -04:00  
				
					
						
							
							
								 
						
							
								f0eb73ef12 
								
							 
						 
						
							
							
								
								Use tags instead of meta  
							
							... 
							
							
							
							which includes baggage. 
							
						 
						
							2020-04-13 13:59:11 -04:00  
				
					
						
							
							
								 
						
							
								329e79b801 
								
							 
						 
						
							
							
								
								Move SpanTypeDecorator to SpanTypeRule  
							
							
							
						 
						
							2020-04-13 13:59:11 -04:00  
				
					
						
							
							
								 
						
							
								2028b10009 
								
							 
						 
						
							
							
								
								Move ErrorFlag to TraceProcessor  
							
							
							
						 
						
							2020-04-13 13:59:11 -04:00  
				
					
						
							
							
								 
						
							
								97efa307d3 
								
							 
						 
						
							
							
								
								Stop setting error tag and update tests.  
							
							
							
						 
						
							2020-04-13 13:59:11 -04:00  
				
					
						
							
							
								 
						
							
								73fb7aa2b6 
								
							 
						 
						
							
							
								
								Add TraceProcessor and move some existing functionality to rules  
							
							... 
							
							
							
							Specifically, the Status5XXRule, URLAsResourceNameRule, and Status404Rule. 
							
						 
						
							2020-04-13 13:59:11 -04:00  
				
					
						
							
							
								 
						
							
								b85e023fbe 
								
							 
						 
						
							
							
								
								Revert "add ..."metrics":{"_dd.measured":1}... to every span ( #1336 )"  
							
							... 
							
							
							
							This reverts commit cda39adf50 
							
						 
						
							2020-04-10 13:56:03 -04:00  
				
					
						
							
							
								 
						
							
								7f146d74dc 
								
							 
						 
						
							
							
								
								DD_SERVICE; DD_ENV; DD_VERSION env vars support ( #1341 )  
							
							... 
							
							
							
							DD_SERVICE; DD_ENV; DD_VERSION env vars support
* Config.valueOf("", null, "") with throw NPE
* mark unused public fields @Deprecated in Config.java
* keep unused public fields untouched
* retrun 2arg Config ctor 
							
						 
						
							2020-04-10 10:50:11 -07:00  
				
					
						
							
							
								 
						
							
								cda39adf50 
								
							 
						 
						
							
							
								
								add ..."metrics":{"_dd.measured":1}... to every span ( #1336 )  
							
							... 
							
							
							
							* add ..."metrics":{"_dd.measured":1}... to every span
* update tests to always have "metrics":{"_dd.measured":1} in every span
Authored-by: Lev Priima <lev.priima@data.dog> 
							
						 
						
							2020-03-25 11:17:47 -07:00  
				
					
						
							
							
								 
						
							
								cef6da61dc 
								
							 
						 
						
							
							
								
								Revert "Add config to capture stacktrace when a span duration exceeds threshold"  
							
							
							
						 
						
							2020-03-23 19:13:29 -04:00  
				
					
						
							
							
								 
						
							
								2f64edaea4 
								
							 
						 
						
							
							
								
								Make threshold based on average duration  
							
							... 
							
							
							
							This should help avoid too frequent of stacktraces when the configured threshold is a normal duration.
Alternatively, we could make it a percentage above the average. 
							
						 
						
							2020-03-10 15:08:12 -07:00  
				
					
						
							
							
								 
						
							
								1cbb874c7c 
								
							 
						 
						
							
							
								
								Replace FilteredStringWriter with direct StackTraceElement usage.  
							
							
							
						 
						
							2020-03-10 13:18:22 -07:00  
				
					
						
							
							
								 
						
							
								2b74487ed6 
								
							 
						 
						
							
							
								
								Add config to capture stacktrace when a span duration exceeds threshold  
							
							... 
							
							
							
							(But only when span is not errored or finished on a different thread.)
Use the following config:
```
-Ddd.trace.span.duration.stacktrace.millis=1000
```
(One second is the default, 0 disables.) 
							
						 
						
							2020-03-10 13:18:22 -07:00  
				
					
						
							
							
								 
						
							
								ee5cf2cf24 
								
							 
						 
						
							
							
								
								Attempt to improve test reliability  
							
							... 
							
							
							
							Add timeouts (to avoid a gradle level timeout) and retries (since we're doing it manually anyway).
I realize this is a band aid... 
							
						 
						
							2020-03-04 19:02:41 -08:00  
				
					
						
							
							
								 
						
							
								d36201c9dc 
								
							 
						 
						
							
							
								
								Apply code review changes  
							
							
							
						 
						
							2020-02-28 18:53:35 +01:00  
				
					
						
							
							
								 
						
							
								b24ae8d638 
								
							 
						 
						
							
							
								
								Add the DefaultLogHandler implementation  
							
							
							
						 
						
							2020-02-28 18:53:35 +01:00  
				
					
						
							
							
								 
						
							
								6cd2d9f79b 
								
							 
						 
						
							
							
								
								Introduce the LogsHandler  
							
							
							
						 
						
							2020-02-28 18:53:35 +01:00  
				
					
						
							
							
								 
						
							
								e92d326052 
								
							 
						 
						
							
							
								
								Merge pull request  #1236  from DataDog/mar-kolya/determine-agent-url-on-first-call  
							
							... 
							
							
							
							Determine agent URL version on first upload call 
							
						 
						
							2020-02-21 07:04:49 -05:00  
				
					
						
							
							
								 
						
							
								b805bf5994 
								
							 
						 
						
							
							
								
								Cache the result of toString in BigInteger ( #1228 )  
							
							... 
							
							
							
							Cache the result of toString in BigInteger 
							
						 
						
							2020-02-20 16:10:31 -08:00  
				
					
						
							
							
								 
						
							
								2c14aecd5a 
								
							 
						 
						
							
							
								
								Create http client laizily  
							
							
							
						 
						
							2020-02-20 10:11:25 -05:00  
				
					
						
							
							
								 
						
							
								a4071ca768 
								
							 
						 
						
							
							
								
								Fix some typos in tests  
							
							
							
						 
						
							2020-02-20 10:07:53 -05:00  
				
					
						
							
							
								 
						
							
								cddd368fc0 
								
							 
						 
						
							
							
								
								Fix integration test  
							
							
							
						 
						
							2020-02-20 09:26:33 -05:00  
				
					
						
							
							
								 
						
							
								c8bbce0549 
								
							 
						 
						
							
							
								
								Fix more tests  
							
							
							
						 
						
							2020-02-20 08:48:48 -05:00  
				
					
						
							
							
								 
						
							
								f0a11d4aff 
								
							 
						 
						
							
							
								
								Make sure traceUrl is null before detecting agent url  
							
							
							
						 
						
							2020-02-20 08:18:54 -05:00  
				
					
						
							
							
								 
						
							
								e044567617 
								
							 
						 
						
							
							
								
								Fix test  
							
							
							
						 
						
							2020-02-20 08:06:13 -05:00  
				
					
						
							
							
								 
						
							
								8209a8830c 
								
							 
						 
						
							
							
								
								Determine agent URL version on first upload call  
							
							... 
							
							
							
							This should remove http request from critical path during app load 
							
						 
						
							2020-02-20 07:20:08 -05:00  
				
					
						
							
							
								 
						
							
								fc6c327705 
								
							 
						 
						
							
							
								
								formatting  
							
							
							
						 
						
							2020-02-18 17:40:06 -08:00  
				
					
						
							
							
								 
						
							
								4ee4688253 
								
							 
						 
						
							
							
								
								java 8  
							
							
							
						 
						
							2020-02-18 15:20:53 -08:00  
				
					
						
							
							
								 
						
							
								3c6b840d69 
								
							 
						 
						
							
							
								
								Cache the result of toString in BigInteger  
							
							
							
						 
						
							2020-02-18 15:04:50 -08:00  
				
					
						
							
							
								 
						
							
								3fff9f1a7d 
								
							 
						 
						
							
							
								
								Move serviceNameMappings processing to DDSpanContext ( #1217 )  
							
							... 
							
							
							
							Move serviceNameMappings processing to DDSpanContext 
							
						 
						
							2020-02-18 10:54:36 -08:00  
				
					
						
							
							
								 
						
							
								9ef59098ff 
								
							 
						 
						
							
							
								
								Generify the tracer span build methods  
							
							
							
						 
						
							2020-02-13 10:21:08 +01:00  
				
					
						
							
							
								 
						
							
								8cab52015e 
								
							 
						 
						
							
							
								
								Move serviceNameMappings processing to DDSpanContext  
							
							... 
							
							
							
							This allows the service name to be updated immediately instead of when the span is finished. 
							
						 
						
							2020-02-12 17:08:57 -08:00  
				
					
						
							
							
								 
						
							
								fd58187994 
								
							 
						 
						
							
							
								
								Support JFR profiling  
							
							
							
						 
						
							2020-02-11 14:55:19 -05:00  
				
					
						
							
							
								 
						
							
								486d98135e 
								
							 
						 
						
							
							
								
								Code review changes  
							
							
							
						 
						
							2020-02-10 11:37:36 -08:00  
				
					
						
							
							
								 
						
							
								75c7769192 
								
							 
						 
						
							
							
								
								Reduce tracer thread count by combining scheduled executors into a single executor.  
							
							... 
							
							
							
							Pulls out utility classes for reuse by other projects.
This also meant the dependency had to be bundled with dd-trace-ot since it isn't published as a separate dependency. 
							
						 
						
							2020-02-10 10:45:58 -08:00  
				
					
						
							
							
								 
						
							
								66400c9b37 
								
							 
						 
						
							
							
								
								Fix NPE on serialization with no span type  
							
							... 
							
							
							
							Add tests. 
							
						 
						
							2020-02-07 15:58:49 -08:00