Nikolay Martynov
							
						 
						
							 
							
							
							
							
								
							
							
								7863a68a53 
								
							 
						 
						
							
							
								
								Fix typo  
							
							 
							
							
							
						 
						
							2019-06-06 09:41:36 -04:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								fc9f1d120c 
								
							 
						 
						
							
							
								
								Misc fixes.  
							
							 
							
							
							
						 
						
							2019-05-29 13:54:35 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								71101ac8d0 
								
							 
						 
						
							
							
								
								Add http.query.string tag when enabled  
							
							 
							
							... 
							
							
							
							Disabled by default.
Enable for http servers with:
* System Property: `dd.http.server.tag.query-string=true`
* Environment Variable: `DD_HTTP_SERVER_TAG_QUERY_STRING=true`
Enable for http clients with:
* System Property: `dd.http.client.tag.query-string=true`
* Environment Variable: `DD_HTTP_CLIENT_TAG_QUERY_STRING=true` 
							
						 
						
							2019-05-29 13:54:35 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								4d01f52b67 
								
							 
						 
						
							
							
								
								Change JMXFetch config keys  
							
							 
							
							... 
							
							
							
							`agent.conf.d` -> `jmxfetch.config.dir`
`jmxfetch.configs` -> `jmxfetch.config`
Enabling bundled JMXFetch configs:
`dd.integration.<integration>.enabled=true` -> `dd.jmxfetch.<integration>.enabled=true` 
							
						 
						
							2019-05-23 15:00:46 -07:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
							
							
								
							
							
								b09aa1a59d 
								
							 
						 
						
							
							
								
								Enable JMXFetch by default  
							
							 
							
							
							
						 
						
							2019-05-23 11:09:07 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								b505c60543 
								
							 
						 
						
							
							
								
								Use jmx AppConfig Builder instead of factory method  
							
							 
							
							... 
							
							
							
							Expose new options for configuring JMXFetch with standard datadog-agent config files with `jvm_direct: true` set as an instance attribute (this will be ignored by the datadog-agent).
For Example:
* `dd.agent.conf.d=/opt/datadog-agent/etc/conf.d`
* `dd.jmxfetch.configs=activemq.d/conf.yaml,jmx.d/conf.yaml`
will load jmx configs in those two files that have `jvm_direct: true` in their `instance` setup.
Environment variables can also be used: `DD_AGENT_CONF_D` and `DD_JMXFETCH_CONFIGS`
Depends on https://github.com/DataDog/jmxfetch/releases/tag/0.29.0  being released. 
							
						 
						
							2019-05-21 17:13:56 -07:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								06f13fd570 
								
							 
						 
						
							
							
								
								Simplify how we calculate local root span tags  
							
							 
							
							
							
						 
						
							2019-05-17 22:32:03 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								7a9d54d2c1 
								
							 
						 
						
							
							
								
								Avoid setting hostname tag on local root span if empty (followup)  
							
							 
							
							
							
						 
						
							2019-05-17 22:01:14 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								0da9991805 
								
							 
						 
						
							
							
								
								Avoid setting hostname tag on local root span if empty (followup)  
							
							 
							
							
							
						 
						
							2019-05-17 22:00:44 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								3b8257a123 
								
							 
						 
						
							
							
								
								Avoid setting hostname tag on local root span if empty  
							
							 
							
							
							
						 
						
							2019-05-17 21:55:02 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								6399fee839 
								
							 
						 
						
							
							
								
								Remove caching of hostname detection in config class  
							
							 
							
							
							
						 
						
							2019-05-17 17:46:16 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								8b2b83bc13 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/hostname  
							
							 
							
							
							
						 
						
							2019-05-17 10:16:43 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ad3401b815 
								
							 
						 
						
							
							
								
								Apply suggestions from CR  #827  
							
							 
							
							
							
						 
						
							2019-05-17 10:15:03 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								1d5dd5b28a 
								
							 
						 
						
							
							
								
								Refactor merging application root span tags with jmx base tags  
							
							 
							
							
							
						 
						
							2019-05-16 19:54:25 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								10069847a3 
								
							 
						 
						
							
							
								
								Define the concept of applicationRootSpanTags and apply only to root  
							
							 
							
							... 
							
							
							
							tags 
							
						 
						
							2019-05-16 12:25:43 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								0e9f9d9d02 
								
							 
						 
						
							
							
								
								Refactor names of DDSPan's methods to interact with root span  
							
							 
							
							... 
							
							
							
							The naming of methods in DDSpan used to detect/retrieve the root span
for a fiven span were slightly misleading. Specifically 'isRootSpan()'
returned true if and only if the span is the root span of teh entire
trace(even in the context of distributed tracing), while getRootSpan()
return the root span of the trace fragment generated by the currently
traced application. I hope that trenaming such methods to
'isTraceRootSpan()' and 'getApplicationRootSpan()' respectively will
help adding some clarity.
The old method names have not been removed for backward comptibility
reasons and tests have been added, but they have been marked as
deprecated. 
							
						 
						
							2019-05-16 11:31:37 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								23ffcf0fce 
								
							 
						 
						
							
							
								
								Apply workaround to refresh configuration values during tests  
							
							 
							
							
							
						 
						
							2019-05-15 16:00:14 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								8231ea1cb2 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/hostname  
							
							 
							
							
							
						 
						
							2019-05-15 13:48:26 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								c8a04b0a4f 
								
							 
						 
						
							
							
								
								Refactor hostname detection in tracer  
							
							 
							
							
							
						 
						
							2019-05-15 13:42:43 +02:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								cc23fee614 
								
							 
						 
						
							
							
								
								Add config to enable individual executors  
							
							 
							
							... 
							
							
							
							Or all executors, bypassing the allow list.
`dd.trace.executor=com.MyCustomExecutor,com.OtherExecutor`
`dd.trace.executors.all=true`
Turns out in many cases, executors that we say we’re skipping, are still being traced because they extend from an already instrumented executor. 
							
						 
						
							2019-05-14 10:03:44 -07:00  
						
					 
				
					
						
							
							
								 
								Nikolay Martynov
							
						 
						
							 
							
							
							
							
								
							
							
								076d14f727 
								
							 
						 
						
							
							
								
								Remove unused config field  
							
							 
							
							
							
						 
						
							2019-05-10 13:45:43 -04:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								938740569f 
								
							 
						 
						
							
							
								
								Set the hostname on root spans  
							
							 
							
							
							
						 
						
							2019-05-10 16:12:15 +02:00  
						
					 
				
					
						
							
							
								 
								Nikolay Martynov
							
						 
						
							 
							
							
							
							
								
							
							
								5ff04bd1e9 
								
							 
						 
						
							
							
								
								Allow tracing be disabled via config  
							
							 
							
							
							
						 
						
							2019-05-09 10:20:06 -04:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								0dd6659c80 
								
							 
						 
						
							
							
								
								Add configuration param to report hostname  
							
							 
							
							
							
						 
						
							2019-05-09 12:27:13 +02:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								03f44bd8b9 
								
							 
						 
						
							
							
								
								Merge pull request  #807  from DataDog/tyler/exclude-config  
							
							 
							
							... 
							
							
							
							Add config allowing classes to be excluded from transformation 
							
						 
						
							2019-04-23 10:37:01 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								ec91a75848 
								
							 
						 
						
							
							
								
								Add config allowing classes to be excluded from transformation  
							
							 
							
							... 
							
							
							
							Add the following system property or corresponding environment variable:
```
dd.trace.classes.exclude=some.packagename.*,some.classname.MyClass$NestedClass
``` 
							
						 
						
							2019-04-19 10:41:13 -07:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								6e825afef2 
								
							 
						 
						
							
							
								
								Move from ForcedSampling tags to standard DDTags based tags  
							
							 
							
							
							
						 
						
							2019-04-19 16:21:35 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								fc5b72f86b 
								
							 
						 
						
							
							
								
								Fixed indentations based on google style rules  
							
							 
							
							
							
						 
						
							2019-04-18 13:17:21 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								7e157e0561 
								
							 
						 
						
							
							
								
								Move implementation of manual sampling via tag from span to decorators  
							
							 
							
							
							
						 
						
							2019-04-18 13:11:33 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								762930bebd 
								
							 
						 
						
							
							
								
								Run code formatter  
							
							 
							
							
							
						 
						
							2019-04-17 15:19:10 +02:00  
						
					 
				
					
						
							
							
								 
								Luca Abbati
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f92e2bbdf6 
								
							 
						 
						
							
							
								
								Rebrand priority sampling while being BC with legacy approach to set it  
							
							 
							
							
							
						 
						
							2019-04-17 14:31:39 +02:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								216ecaa05e 
								
							 
						 
						
							
							
								
								Merge pull request  #804  from DataDog/tyler/partial-flush-default  
							
							 
							
							... 
							
							
							
							Set default value for partial trace flush to 1k 
							
						 
						
							2019-04-16 10:57:26 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								b872e7fa9b 
								
							 
						 
						
							
							
								
								Set default value for partial trace flush to 1k  
							
							 
							
							... 
							
							
							
							This should help reduce memory impact of large traces and reduce risk if scope is opened and never closed. 
							
						 
						
							2019-04-11 14:40:44 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								c4ac5b94ec 
								
							 
						 
						
							
							
								
								Fix span relationships and other review issues.  
							
							 
							
							
							
						 
						
							2019-04-10 17:31:22 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								347710a680 
								
							 
						 
						
							
							
								
								Correct http status mapping config keys  
							
							 
							
							... 
							
							
							
							Use the properly documented and agreed upon config keys. 
							
						 
						
							2019-03-27 08:43:10 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								849653c5d5 
								
							 
						 
						
							
							
								
								Improve and adjust code coverage  
							
							 
							
							
							
						 
						
							2019-03-21 09:55:21 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								f290734d52 
								
							 
						 
						
							
							
								
								Merge branch 'master' into mar-kolya/b3-headers  
							
							 
							
							... 
							
							
							
							# Conflicts:
#	dd-trace-api/src/main/java/datadog/trace/api/Config.java 
							
						 
						
							2019-03-21 08:33:56 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								4187bf3eb0 
								
							 
						 
						
							
							
								
								code review changes.  
							
							 
							
							
							
						 
						
							2019-03-20 17:09:39 -07:00  
						
					 
				
					
						
							
							
								 
								Nikolay Martynov
							
						 
						
							 
							
							
							
							
								
							
							
								42cc3594dc 
								
							 
						 
						
							
							
								
								Improve injection/extraction styles configuration  
							
							 
							
							
							
						 
						
							2019-03-20 12:28:39 -07:00  
						
					 
				
					
						
							
							
								 
								Nikolay Martynov
							
						 
						
							 
							
							
							
							
								
							
							
								4eb7936245 
								
							 
						 
						
							
							
								
								Implement B3 headers extraction and injection  
							
							 
							
							
							
						 
						
							2019-03-20 12:28:39 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								715af67e70 
								
							 
						 
						
							
							
								
								Implement Http Status error mapping via config  
							
							 
							
							... 
							
							
							
							Using the following defaults:
* `DD_HTTP_CLIENT_ERROR_STATUSES=400-499`
* `DD_HTTP_SERVER_ERROR_STATUSES=500-599` 
							
						 
						
							2019-03-19 17:11:48 -07:00  
						
					 
				
					
						
							
							
								 
								Nikolay Martynov
							
						 
						
							 
							
							
							
							
								
							
							
								63e0c0f032 
								
							 
						 
						
							
							
								
								Support Unix Domain Socket proxy to send traces  
							
							 
							
							
							
						 
						
							2019-03-15 11:36:44 -07:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								192eb894a4 
								
							 
						 
						
							
							
								
								Fix Trace Search + Analytics integration config key  
							
							 
							
							
							
						 
						
							2019-03-14 10:54:43 -07:00  
						
					 
				
					
						
							
							
								 
								Will Gittoes
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								00865dab88 
								
							 
						 
						
							
							
								
								Review comments: Replace un-needed instrumentation by just propagating scope not spans  
							
							 
							
							
							
						 
						
							2019-03-06 10:05:21 +11:00  
						
					 
				
					
						
							
							
								 
								Will Gittoes
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								8985d6fd07 
								
							 
						 
						
							
							
								
								Merge branch 'master' into willgittoes-dd/hibernate-integration  
							
							 
							
							
							
						 
						
							2019-02-26 12:03:08 +11:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								a98c22ac3a 
								
							 
						 
						
							
							
								
								Introduce base decorators  
							
							 
							
							
							
						 
						
							2019-02-20 16:11:18 -08:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								4dd4ee0c05 
								
							 
						 
						
							
							
								
								Trace Analytics Config  
							
							 
							
							... 
							
							
							
							Also make the instrumentation names a sorted list so the evaluation order is consistent. 
							
						 
						
							2019-02-20 10:56:14 -08:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								a7ebc9b3db 
								
							 
						 
						
							
							
								
								Deprecate WEB_SERVLET type  
							
							 
							
							
							
						 
						
							2019-02-20 08:42:39 -08:00  
						
					 
				
					
						
							
							
								 
								Will Gittoes
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								e8f0eaf85e 
								
							 
						 
						
							
							
								
								Add basic Hibernate integration  
							
							 
							
							
							
						 
						
							2019-02-11 14:47:21 +11:00  
						
					 
				
					
						
							
							
								 
								Tyler Benson
							
						 
						
							 
							
							
							
							
								
							
							
								2283040a5b 
								
							 
						 
						
							
							
								
								Make internal name usage consistent with setting name.  
							
							 
							
							
							
						 
						
							2019-02-08 10:26:40 -08:00