-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: dgnemo/opentelemetry-operations-java
base: main
head repository: GoogleCloudPlatform/opentelemetry-operations-java
compare: main
Commits on Jun 17, 2022
-
Bump otel version and get ready for stable metrics release. (GoogleCl…
…oudPlatform#154) * Bump to stable OTEL metrics version and start cleaning up javadoc/public API for stable metrics exporter release. * Remove -alpha qualifier from metrics exporter release. * Fix build breakage, need semconv for tests. * Update metric config to use endpoint instead of stub for alternative endpoints. * Expose endpoint config for trace exporter. * cleanups. * Spotless apply * Fix CI build failure. * Fix other test failure. * Fix code review comments. * Rename metric exporter to avoid name clash. * Fix e2e test docker file. * Run spotless.
Configuration menu - View commit details
-
Copy full SHA for c27ed8f - Browse repository at this point
Copy the full SHA c27ed8fView commit details
Commits on Jul 21, 2022
-
Increase cloud monitoring client timeout to 12 s (GoogleCloudPlatform…
…#157) This matches the internal value in Cloud Monitoring and avoids DEADLINE_EXCEEDED RPC errors.
Configuration menu - View commit details
-
Copy full SHA for eeef0e3 - Browse repository at this point
Copy the full SHA eeef0e3View commit details
Commits on Jul 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2838ee6 - Browse repository at this point
Copy the full SHA 2838ee6View commit details
Commits on Oct 11, 2022
-
Fixes ci test (GoogleCloudPlatform#165)
* Adds newline at EOF * Updates image tag to older release Image tag 'latest' points to the head of the repository which has the cmd folder deleted. Changing the tag to v2-alpha since it has the required folder.
Configuration menu - View commit details
-
Copy full SHA for a3c1c4f - Browse repository at this point
Copy the full SHA a3c1c4fView commit details -
Update README (GoogleCloudPlatform#160)
Fixed typo for `Interval` in example code.
Configuration menu - View commit details
-
Copy full SHA for 1b6ad5b - Browse repository at this point
Copy the full SHA 1b6ad5bView commit details
Commits on Oct 14, 2022
-
Enable detect resource test (GoogleCloudPlatform#166)
* Update e2e test runner image to latest Updating the test runner image to latest should enable the test runner calling for detectResource test scenario for exporters in opentelemetry-java-ops. * Fixes failing test due to name mismatch * Replaces 'latest' tag with the exact version number
Configuration menu - View commit details
-
Copy full SHA for 908e9a1 - Browse repository at this point
Copy the full SHA 908e9a1View commit details
Commits on Oct 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 41d6ee1 - Browse repository at this point
Copy the full SHA 41d6ee1View commit details
Commits on Oct 24, 2022
-
Pr/detect cloud run (GoogleCloudPlatform#167)
* Adds CloudRun resource detector * Update the test runner image for cloudbuild * Fix CloudRun e2e test * Code refactor for better readability * Adds missing javadocs * Code refactor remove unused parameter * Removes debug print statements * Update Javadoc * Add resource mapping for cloud-run * Address code refatcor + style issues
Configuration menu - View commit details
-
Copy full SHA for 075a5ec - Browse repository at this point
Copy the full SHA 075a5ecView commit details
Commits on Oct 26, 2022
-
Upgrade Gradle from v6.x to v7.x (GoogleCloudPlatform#171)
Change tested against gradle 7.5.1
Configuration menu - View commit details
-
Copy full SHA for c2b6024 - Browse repository at this point
Copy the full SHA c2b6024View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce4b115 - Browse repository at this point
Copy the full SHA ce4b115View commit details
Commits on Oct 28, 2022
-
Update gradle wrapper for gradle v7 (GoogleCloudPlatform#172)
* Update gradle wrapper for gradle v7 * Update Java version source & target compatibility * Fix gradle assemble task
Configuration menu - View commit details
-
Copy full SHA for e494d5b - Browse repository at this point
Copy the full SHA e494d5bView commit details
Commits on Nov 8, 2022
-
Enables test server to run in CloudFunctions (GoogleCloudPlatform#173)
* Enables Cloud Function resource detection * Refactor: add utility class to extract common attributes * Add build steps for cloud build trigger * Fix cloudbuild yaml file name * Update test runner image * Add missing javadoc * Removes unnecessary rethrow for exception
Configuration menu - View commit details
-
Copy full SHA for ba11240 - Browse repository at this point
Copy the full SHA ba11240View commit details
Commits on Nov 15, 2022
-
Support GAE by handling readiness & liveliness checks (GoogleCloudPla…
…tform#175) GAE resource detection & automated test runs on GAE is not enabled through this PR.
Configuration menu - View commit details
-
Copy full SHA for 5be4226 - Browse repository at this point
Copy the full SHA 5be4226View commit details
Commits on Nov 17, 2022
-
Pr/enable gae resource detection (GoogleCloudPlatform#176)
* Fix typo * Enable resource detection for GAE * Rename method: addCloudRegionFromMetadata to addCloudRegionFromMetadataUsingZone * Fix region detection for GAE standard * Update test runner image to v0.15.0
Configuration menu - View commit details
-
Copy full SHA for 16e2087 - Browse repository at this point
Copy the full SHA 16e2087View commit details
Commits on Nov 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 73c2bd8 - Browse repository at this point
Copy the full SHA 73c2bd8View commit details
Commits on Nov 29, 2022
-
Remove repo level allstar configs (GoogleCloudPlatform#182)
These should be added through org level configurations
Configuration menu - View commit details
-
Copy full SHA for ba637f0 - Browse repository at this point
Copy the full SHA ba637f0View commit details
Commits on Nov 30, 2022
-
Combine GCP resource detectors (GoogleCloudPlatform#181)
* Delete individual classes for each GCP resource type * Combine all GCP resource detectors in a single class * Add missing javadoc * Fix Cloud Function detection * Rename GCPComputeResource to GCPResource * Fix GKE cluster location detection GKE resource should either only have the zone or the region as their location. Updated the source from where the location attribute is extracted. * Avoid adding malformed location to attributes in GKE
Configuration menu - View commit details
-
Copy full SHA for 60cf3d6 - Browse repository at this point
Copy the full SHA 60cf3d6View commit details
Commits on Jan 26, 2023
-
Add prefix option to metrics exporter (GoogleCloudPlatform#189)
* add prefix option to metrics exporter
Configuration menu - View commit details
-
Copy full SHA for c4085c5 - Browse repository at this point
Copy the full SHA c4085c5View commit details
Commits on Feb 7, 2023
-
Update dependencies to remove OSS vulnerabilities (GoogleCloudPlatfor…
…m#190) * Update dependencies to remove OSS vulnerabilities * Re-run cloud-build * Update the test runner image to 0.16.0 (latest) * Empty commit. Re-run the build image step * Fix failing tests Failing tests are due to an update in the gRPC version The updated version requires the build tool (gradle, in this case) to merge the service files. For more details look at grpc/grpc-java#5493. * Add missing attribute to GAE resource detector * Fix failing unit tests
Configuration menu - View commit details
-
Copy full SHA for d9ab659 - Browse repository at this point
Copy the full SHA d9ab659View commit details
Commits on Feb 13, 2023
-
Update README to add missing setup steps. (GoogleCloudPlatform#192)
* Update README to add missing setup steps. fixes GoogleCloudPlatform#163 * Update propagators/gcp/README.md Co-authored-by: Aaron Abbott <aaronabbott@google.com> --------- Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Configuration menu - View commit details
-
Copy full SHA for c5f9378 - Browse repository at this point
Copy the full SHA c5f9378View commit details
Commits on Feb 16, 2023
-
Replaced concrete type TraceExporter with interface type SpanExporter (…
…GoogleCloudPlatform#194) * Replaced concrete type TraceExporter with interface type SpanExporter (Breaking Change)
Configuration menu - View commit details
-
Copy full SHA for 9bc4558 - Browse repository at this point
Copy the full SHA 9bc4558View commit details
Commits on Feb 21, 2023
-
Fix header check (GoogleCloudPlatform#197)
* Update copyright year in spoless license files * Run spotlessApply to update the copyright year to 2023
Configuration menu - View commit details
-
Copy full SHA for 6cba43f - Browse repository at this point
Copy the full SHA 6cba43fView commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e6b8b1e - Browse repository at this point
Copy the full SHA e6b8b1eView commit details
Commits on Mar 1, 2023
-
Fix trace exporter (GoogleCloudPlatform#193)
* Add initial implementation for deferred trace exporter * Update the trace config to lazy initialize Project ID * Udpate return types to interface types * Refactor: Simplify user facing API * Fix IllegalStateException when calling getProjectId * Fix header check * Make 'export' method thread safe * Add unit tests for TraceExporter * Run spotlessApply to fix style issues * Update documentation for the deferred approach * Make the TraceExporter thread-safe * Change copyright year in file header * Refactor: create a separate class for no-op TraceExporter * Update documentation for TraceExporter * Add class documentation for InternalTraceExporter * fix style issues * Fix locally failing TraceConfiguration test * Remove opencensus failure test * Update license headers for 2023 * Removes the use of ThrottlingLogger * Refactor: update deferred execution to prevent API changes * Fix locally failing tests * Fix unit tests via mocking * Add opencensus-shim as a test dependency to verify fix * Mock ServiceOptions for getDefaultProjectId * Fix missing credentials on non-GCP environment * Refactor: address comments * Fix syncronization logic and thread-safety * Simplify thread safe logic by moving to memoized Supplier * Unit test TraceExporter failure case * Update javadoc for Noop exporter * Update exception type for null or empty project ID * Rename tests and add additional context in logs * Make noop exporter return success code * Reduce scope of unit tests to TraceConfiguration only
Configuration menu - View commit details
-
Copy full SHA for 70e3b08 - Browse repository at this point
Copy the full SHA 70e3b08View commit details -
Set metric labels to be of type String for non-custom descriptor types (
GoogleCloudPlatform#203) * Refactor: Re-arrange methods based on access modifiers * Refactor: remove unused parameter * Add logic to handle custom descriptor type prefix * Remove shadow plugin from build.gradle
Configuration menu - View commit details
-
Copy full SHA for b809e9f - Browse repository at this point
Copy the full SHA b809e9fView commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 10aab44 - Browse repository at this point
Copy the full SHA 10aab44View commit details
Commits on Mar 7, 2023
-
Fix exporter-trace example & add README (GoogleCloudPlatform#206)
* Fix exporter-trace example & add README * Update instrumentation scope name
Configuration menu - View commit details
-
Copy full SHA for 51a0d39 - Browse repository at this point
Copy the full SHA 51a0d39View commit details
Commits on Mar 9, 2023
-
Fix metrics exporter integration (GoogleCloudPlatform#207)
* Fix metrics exporter example * Add metrics-exporter example with OpenTelemetrySdk usage * Update GoogleCloudMetricExporter to return generic types * Implement deferred initialization of metrics exporter * Update examples to use the deferred exporters * Lazy loads default project ID initialization * Fix failing tests MetricConfigurationTest had a test that directly invoked a static method, the state of which is preserved b/w test classes, this lead to an intermittent failure in one of the tests run in GoogleCloudMetricConfigurationTest, which made some assumptions about the state affected by the invocation of the said method. * Update documentation * Add readme for metrics exporter example * Make NoopMetricExport return the same AggregationTemporality as GoogleCloudMetricExporter * Undo accidental dependency version downgrade * Fix documentation errors * Remove the additional example
Configuration menu - View commit details
-
Copy full SHA for a776d91 - Browse repository at this point
Copy the full SHA a776d91View commit details
Commits on Mar 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cf90595 - Browse repository at this point
Copy the full SHA cf90595View commit details
Commits on Mar 21, 2023
-
Upgrade to Gradle 7.6 (GoogleCloudPlatform#209)
To be compatible with Java 17
Configuration menu - View commit details
-
Copy full SHA for 4b716ee - Browse repository at this point
Copy the full SHA 4b716eeView commit details
Commits on Mar 22, 2023
-
Update gradle (GoogleCloudPlatform#211)
* Update shadow-plugin API to be compatible with gradle v8 * Update gradle wrapper to gradle 8.0.2 * Update GoogleCloudBuild images to use gradle v8
Configuration menu - View commit details
-
Copy full SHA for ecb223d - Browse repository at this point
Copy the full SHA ecb223dView commit details
Commits on Mar 23, 2023
-
Replace 'shadowJar' with subproject specific task (GoogleCloudPlatfor…
…m#213) This is to improve the build-times as 'shadowJar' generates shadowJars for all sub-projects which is expensive and not required here.
Configuration menu - View commit details
-
Copy full SHA for 8ec593b - Browse repository at this point
Copy the full SHA 8ec593bView commit details
Commits on Mar 27, 2023
-
Relocate dependencies in the generated shadowJar (GoogleCloudPlatform…
…#212) * Add gradle task to relocate dependencies in shaded JAR * Prevent conscrypt shading * Prevent accidental shading for source classes For some reason shadow plugin shades the source classes as well, this should not be the case. In order to prevent this accidental shading of source classes, we relocate the source classes back the original package to exclude them from automatic relocation.
Configuration menu - View commit details
-
Copy full SHA for 245a701 - Browse repository at this point
Copy the full SHA 245a701View commit details
Commits on Mar 29, 2023
-
Make GCPResourceTest environment agnostic (GoogleCloudPlatform#217)
The unit test to verify that empty attributes are returned in non GCP environment, assumed that the test environment would be non GCE. This led to failures when running on GCE VMs.
Configuration menu - View commit details
-
Copy full SHA for 0729730 - Browse repository at this point
Copy the full SHA 0729730View commit details
Commits on Apr 8, 2023
-
Update Google Cloud and OpenTelemetry dependencies (GoogleCloudPlatfo…
…rm#219) * Bump google cloud library versions to latest * Update OTel dependencies * Remove duplicate dependency declaration * Add newline at EOF
Configuration menu - View commit details
-
Copy full SHA for 5cb85b8 - Browse repository at this point
Copy the full SHA 5cb85b8View commit details
Commits on Apr 12, 2023
-
Fix autoconf example (GoogleCloudPlatform#223)
The OTel autoconfigure module was missing configuration parameters and the GKE container was missing required environment variables to publish Cloud monitoring metrics.
Configuration menu - View commit details
-
Copy full SHA for 40a2fa5 - Browse repository at this point
Copy the full SHA 40a2fa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfffb53 - Browse repository at this point
Copy the full SHA dfffb53View commit details -
Add missing otlp exporter dependency (GoogleCloudPlatform#221)
Autoconfigure SDK extension is used but has not been configured. In this case, the default otlp exporter must be present on the classpath. Co-authored-by: Punya Biswal <punya@google.com>
Configuration menu - View commit details
-
Copy full SHA for d0370a6 - Browse repository at this point
Copy the full SHA d0370a6View commit details -
Add required env variables for publishing metrics (GoogleCloudPlatfor…
…m#224) * Add required env variables for publishing metrics The added environmnet variables are required for resource detection in GKE environment. The absence of these variables cause failure to publish metrics. * Move container env vars to deployment spec
Configuration menu - View commit details
-
Copy full SHA for 7a8aedd - Browse repository at this point
Copy the full SHA 7a8aeddView commit details -
Spotless yaml (GoogleCloudPlatform#227)
* Update spotless to v6.18.0 * Add spotless config to add license header to YAML * Cleanup: remove empty yaml file * Update license headers via spotlessApply
Configuration menu - View commit details
-
Copy full SHA for e4cf50f - Browse repository at this point
Copy the full SHA e4cf50fView commit details
Commits on Apr 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 33a656b - Browse repository at this point
Copy the full SHA 33a656bView commit details -
Adds spotless support for shell scripts (GoogleCloudPlatform#228)
* Add license header config for shell scripts * Udpate license header via spotlessApply * Fix missing license header failing check
Configuration menu - View commit details
-
Copy full SHA for e7876f0 - Browse repository at this point
Copy the full SHA e7876f0View commit details
Commits on Apr 18, 2023
-
Fix duplicate metrics in timeseries (GoogleCloudPlatform#231)
* Fixes export error due to multiple metric points in TimeSeries * Cleanup debug statements * Fix formatting * Refactor: removes duplicate code * Updates test with expected instrumentation labels * Refactor: extract label values to final constants
Configuration menu - View commit details
-
Copy full SHA for 96beabd - Browse repository at this point
Copy the full SHA 96beabdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c1d840 - Browse repository at this point
Copy the full SHA 0c1d840View commit details
Commits on May 4, 2023
-
Configures auto-exporter to publish shaded and non-shaded variants (G…
…oogleCloudPlatform#235) * Configures auto-exporter to publish shaded and non-shaded variants * Remove shadowed=true from gradle properties Since auto-exporter has to be published as both - shaded and unshaded variant, the only required changes is to remove the shadowed property from gradle which prevents publishing shaded variants. The gradle shadow plugin automatically publishes a shaded artifact when used with maven publish plugin. The sources and javadoc for shaded JAR are not published unless explicitly mentioned.
Configuration menu - View commit details
-
Copy full SHA for c3ac980 - Browse repository at this point
Copy the full SHA c3ac980View commit details
Commits on May 5, 2023
-
Adds dependency declarations to order tasks (GoogleCloudPlatform#237)
The missing dependency declarations result in errors in the release tasks - pointing to possibility of incorrect result depending on order in which these tasks execute. The release tasks are skipped during normal :build jobs so build passes, but the artifacts snapshot generation for release fails.
Configuration menu - View commit details
-
Copy full SHA for cd65398 - Browse repository at this point
Copy the full SHA cd65398View commit details -
Declares explicit dependency for signMavenPublication (GoogleCloudPla…
…tform#238) Adds missing dependency declaration for task `signMavenPublication` for shared-resourcemapping module. #### Testing - Verified `./gradlew clean build` - Verified `./gradlew snapshot` - is now passing ✅
Configuration menu - View commit details
-
Copy full SHA for a64fdd0 - Browse repository at this point
Copy the full SHA a64fdd0View commit details -
Add script to run example in docker container (GoogleCloudPlatform#229)
This just adds a convenience script that allows users to run auto-instrument example in a local docker container instead of running on GKE.
Configuration menu - View commit details
-
Copy full SHA for 4cc2f4d - Browse repository at this point
Copy the full SHA 4cc2f4dView commit details
Commits on May 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c2a6c3f - Browse repository at this point
Copy the full SHA c2a6c3fView commit details -
Revert "Adds explicit instruction for shaded release" (GoogleCloudPla…
…tform#241) Reverts GoogleCloudPlatform#240 We do not want shaded version in a different artifact - use classifiers instead.
Configuration menu - View commit details
-
Copy full SHA for fcedb2f - Browse repository at this point
Copy the full SHA fcedb2fView commit details
There are no files selected for viewing