aboutsummaryrefslogtreecommitdiff
path: root/exporters
AgeCommit message (Collapse)Author
2018-03-28Deprecate Mean and MeanData (#1101)Yang Song
* Deprecate Mean and MeanData * Suppress deprecation warnings. * Suppress warning InconsistentOverloads * CopyAnnotations for AutoValue Mean and MeanData
2018-03-27Remove @SuppressWarnings("nullness") from all AutoValue classes.Kristen Kozak
This change allows the Checker Framework to check the classes annotated with @AutoValue, even though their generated subclasses are skipped. This commit also fixes some previously suppressed warnings in the ViewData class.
2018-03-26Auto detect GCE and GKE Stackdriver MonitoredResources. (#1071)Yang Song
* Auto detect GCE and GKE Stackdriver MonitoredResources. * Use MetadataConfig to set project id for default resources.
2018-03-26Merge pull request #1085 from ↵sebright
marccarre/issues/1066-more-robust-jaeger-integration-test More robust integration test for Jaeger exporter.
2018-03-26Point README at correct link for monitoring API (#1091)Jean de Klerk
2018-03-26Simplify README.md (#1092)Jean de Klerk
The default instructions should rely on default settings. There's a section further below that provides instructions on how to configure auth + project.
2018-03-24Wait for Jaeger to be able to handle HTTP requests, by retrying on ↵Marc CARRE
unexpected connection reset socket exceptions. Jaeger seems to accept connections even though it is not yet ready to handle HTTP requests. Without this change, the integration test fails with: ``` io.opencensus.exporter.trace.jaeger.JaegerExporterHandlerIntegrationTest > exportToJaeger FAILED java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:197) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:721) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:664) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:692) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1389) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37) at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:105) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981) at io.opencensus.exporter.trace.jaeger.JaegerExporterHandlerIntegrationTest.waitForJaegerToStart(JaegerExporterHandlerIntegrationTest.java:239) at io.opencensus.exporter.trace.jaeger.JaegerExporterHandlerIntegrationTest.exportToJaeger(JaegerExporterHandlerIntegrationTest.java:82) ``` With this change, it logs the above for information/debugging, but carries on, and eventually, suceeds.
2018-03-24Wait for Jaeger to be able to handle HTTP requests, by retrying on ↵Marc CARRE
unexpected EOF socket exceptions. Jaeger seems to accept connections even though it is not yet ready to handle HTTP requests. Without this change, the integration test fails with: ``` java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:851) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:848) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37) at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:105) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981) at io.opencensus.exporter.trace.jaeger.JaegerExporterHandlerIntegrationTest.waitForJaegerToStart(JaegerExporterHandlerIntegrationTest.java:239) at io.opencensus.exporter.trace.jaeger.JaegerExporterHandlerIntegrationTest.exportToJaeger(JaegerExporterHandlerIntegrationTest.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) ``` With this change, it logs the above for information/debugging, but carries on, and eventually, suceeds.
2018-03-24Wait for Jaeger to be ready by querying it rather than waiting.Marc CARRE
This should make the integration test less sensitive to time, and fix timing errors like cases where CI might be overwhelmed, and Jaeger not ready yet, but we don't wait long enough.
2018-03-24Fix/improve assertion on span duration.Marc CARRE
2018-03-24Add unit to all times and durations.Marc CARRE
This should make what we are working with more explicit.
2018-03-23Merge pull request #1086 from sebright/run-findbugs-on-testssebright
Enable FindBugs in tests.
2018-03-23Set unit '1' when the aggregation type is Count. (#1087)Bogdan Drutu
* Set unit '1' when the aggregation type is Count. * Add a test for MetricDescriptor creation with aggregation Count.
2018-03-23Enable FindBugs in tests.Kristen Kozak
This would have caught the unused variable that was fixed by #1082. Changes in this commit: - Enable FindBugs in tests in build.gradle. - Fix some existing minor FindBugs issues in tests. - Suppress some warnings in all test classes that are less important in test code, such as requiring nested classes to be static whenever possible. - Enable nullness-related FindBugs warnings in tests, since we don't run the Checker Framework on test code.
2018-03-23Run jaegertracing/all-in-one:1.2.0 instead of latest. (#1084)Marc Carré
Locking the version makes the build more stable for now. Various to this alternatives are offered at: https://github.com/census-instrumentation/opencensus-java/issues/1066#issuecomment-375554352
2018-03-23Run docker version to find whether Jaeger integration test can be performed. ↵Marc Carré
(#1083) Running `docker -v`, as done before this change, succeeds even when the Docker daemon is down, which means integration tests are attempted even though we cannot start Jaeger's container. Running `docker version`, as done after this change, checks both the version of the CLI and the daemon, which fails when the daemon is down, and is what we really want here.
2018-03-22Run docker -v to find whether Jaeger integration test can be performed. (#1077)Marc Carré
Though this executes another process, this is hopefully more reliable and faster than scanning the `PATH` for a `docker` executable, and therefore fixes AppVeyor's CI builds.
2018-03-22Jaeger exporter test is now more robust to small IDs. (#1078)Marc Carré
If the trace/span ID is `0L` (resp. `1L`), then Jaeger simply returns `"0"` (resp. `"1"`) via its REST API. Looking at `TraceId#generateRandomId`/`TraceId#INVALID` and `SpanId#generateRandomId`/`SpanId#INVALID`, it seems `0L` is a forbidden value which is actively filtered out, but anything else has the potential to happen. Therefore, regexes for trace IDs and span IDs should be `{1,32}` and `{1,16}` respectively.
2018-03-15Fix a failing test (#1063)Yang Song
2018-03-15Add traces exporter to Jaeger (#1023)Marc Carré
* Add git-ignores. * Add traces exporter to Jaeger (+tests). * Add string tag with events' description to Jaeger exporter (+tests). * Add integration test for Jaeger exporter (manually run).
2018-03-07Add a PrometheusStatsConfiguration class. (#1056)Yang Song
2018-03-07Deprecate Window and WindowData. (#1018)Yang Song
* Deprecate Window and WindowType in Stats APIs * Window and WindowData will continue to be NonNull * Suppress warnings for impl, exporter and zpages. * NoopStats should continue to use old method.
2018-03-02Fixes copy/paste errors (#1034)Adrian Cole
2018-03-01Fix a typo in Zipkin exporter README (#1038)Yang Song
2018-02-28Fix a typo in Zipkin exporter README (#1037)Yang Song
2018-02-28Fix typo. (#1036)Ian Sturdy
2018-02-27Update release versions for all readme and build files. (#1033)Yang Song
2018-02-19Update release versions for all readme and build files. (#1010)Yang Song
2018-02-18Update examples in sd trace exporter README. (#1008)Hailong Wen
2018-02-16Update READMEs to include Prometheus exporter. (#996)Yang Song
2018-02-16Add MessageEvent and deprecate NetworkEvent. (closes #858) (#894)Hailong Wen
2018-02-15Update zipkin-reporter to the latest version 2.3.2. (#1000)Bogdan Drutu
2018-02-15Add Nullable annotation to tag values. (#998)Yang Song
2018-02-13Instrument the Prometheus Stats Exporter with trace (#997)Yang Song
2018-02-13Implement Prometheus Stats exporter (#965)Yang Song
* Implement Prometheus Stats exporter * Add PromethuesStatsExporter README to releasing update list * Made some special strings as constants. * Simplify registration of Prometheus collector * Add javadoc for data model conversions. Add @since.
2018-02-11Add '@since' Javadoc tag to Instana APIs (issue #864).Kristen Kozak
2018-02-09Add a configuration class to help to create StackdriverTraceExporter. ↵Hailong Wen
(closes #949) (#990)
2018-02-09First proof of concept for Instana integration (#972)Fabian Lange
2018-02-08Increase batch export size of StackdriverStatsExporter to 200 (#988)Yang Song
2018-02-07Add '@since' Javadoc tag to all exporter APIs (issue #864).Kristen Kozak
2018-01-24Update release versions for all readme and build files. (#961)Hailong Wen
2018-01-23Keep artifacts dependencyConvergence-clean (#959)Bogdan Drutu
2018-01-23Update occurrences of deprecated trace exporter in README.md and javadoc ↵Hailong Wen
(except examples). (#960)
2018-01-23Fix some typos in SignalFX exporter code examples (#957)Yang Song
2018-01-22Update StackdriverStatsExporter to use the new configuration class. (#948)Yang Song
2018-01-22Update script in RELEASING.md and use them to update release version in all ↵Hailong Wen
readmes and build files. (fixes #941) (#946)
2018-01-22Rename trace exporters that have inconsistent naming. (#942)Hailong Wen
* Rename trace exporters [Logging|Stackdriver|Zipkin]Exporter to [Logging|Stackdriver|Zipkin]TraceExporter. * Add old [Logging|Stackdriver|Zipkin]Exporter back and deprecate them to maintain compatibility. * Implement old trace exporters using renamed ones.
2018-01-18Update google cloud java version. (#936)Bogdan Drutu
2018-01-17Change "opencensus-task" to "opencensus_task" in documentation to match the ↵Ian Sturdy
implementation. (#933)
2018-01-17Update errorprone, google cloud java, grpc versions. (#931)Bogdan Drutu