* Add non-public method to retrieve MetricID/HelidonMetric pairs given a name
* Make sure TYPE is emitted to Prometheus/OpenMetrics output only when requested
* Fix behavior of /metrics/registryName/metricName to report all matching metrics
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
* Fluent API for explicit media reader and writer usages.
* update javadocs
* update javadocs
* support stream reader/writer
* update javadocs
* Update HealthSupport and MetricsSupport to use the new API
* fix checkstyle errors
* rename internal constant FEATURE_NAME to SERVICE_NAME is both HealthSupport and MetricsSupport
* Update FileSystemContentHandler.send to use the new API
* Features simplification.
* Added excludes
* Moved initialization of log to native image extension
* Log statements for unsupported features in native image
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Get method removed from MessageBodyOperators
* JSON-P support changed
* JSON-B support changed
* Jackson support changed
* Default support builder added
Signed-off-by: David Kral <david.k.kral@oracle.com>
Flattening of the media support structure
Fix for not checking of the context parent when searching for operator
Signed-off-by: David Kral <david.k.kral@oracle.com>
* Update maven dependency plugin to support dependency:analyze with Java 11
* Remove internal-test-libs
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* For performance, avoid creating MetricID instances repeatedly when looking up the metric associated with each call to an intercepted call; instead, cache the metric with each annotation site
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Work around issues with the reduced pom created by maven-shade-plugin.
See https://issues.apache.org/jira/browse/MNG-5899
Inline the reduced dependencies in the original pom.
Turn-off reduced pom generation.
Update microprofile/weld/pom.xml
Build fixes after repackaging weld.
Build fix - spotbugs exclude missing.
Simplify build and runtime events.
Using predefined priorities.
Validations for all modules in test.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Remove OptionalHelper and replace with Optional methods.
* Remove CollectionsHelper and replace with Set, Map and List methods.
* Replaced `InputStreamHelper` with method of `InputStream`
* Replaced Helidon `StackWalker` with the one from Java
* Updated CHANGELOG.md
* Added an exclude for spotbugs to work around
https://github.com/spotbugs/spotbugs/issues/756
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Add sync to registry methods for thread safeness
* Remove 'flexible' field from HelidonMetadata and associated uses; bring MetricProducer and Registry more in line with the metrics/metrics counterparts; add synchronization to metrics 1.1 and 2.0 support
* Fix release.sh update-version to work with new parent pom hierarchy
* Update CHANGELOG for 1.3.0 release
* fix release script to deal with maven timestamps
* Update graal tests to work with new parent pom hierarchy
* Update release.sh to set helidon.version correctly
* Move gpg plugin management and execution for the release profile under parent/pom.xml
Move nexus plugin extension for the release profile under parent/pom.xml
Move the staging profile under parent/pom.xml
Added missing snapshot repository under distribution management in parent/pom.xml
* Fixes#1024 - Bad build time subsitution for bare archetypes pom
Fixes#1025 - archetype-packaging plugin needs to be declared as an extension
Reverting dependencies on helidon-metrics2 back helidon-metrics for all SE examples
Removing helidon-metrics2 from the BOM pom to prevent end-user from using it
Update examples/grpc/metrics README to fix test step.
* Update version to 1.3.1-SNAPSHOT
Create a new parent pom hierarchy to fit new applications-pom
Updated all examples to use the new application-poms
Normalized examples README.md
Updated examples Dockerfile to multi-stage
Remove dependency management for microprofile-metrics-api and leverage the transitive dependencies of helidon-metrics and helidon-metrics2.
Add support for Microprofile Metrics 2.0, including a Helidon metrics compatibility layer which allows some existing metrics 1.1 clients to run without change using this Helidon release (which uses metrics 2.0).
* Tracing configuration module.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Register tracer as global tracer, configurable.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Tracing configuration for web server.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Using tracing configuration, root span delegated to TracingConfiguration.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Integration common module with tracing helpers.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Using common tracing helpers in gRPC security integration
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Using common tracing helpers in webserver and Jersey security integration
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Using tracing configuration
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Using tracing configuration
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Fixed visibility in Contexts.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Refactored metrics context handler to a separate class.
Better visibility in Tracing.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Common security integration module in bom pom.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Refactoring based on review comments.
Using WebTracingConfig and GrpcTracingConfig instead of TracingConfiguration
Using a classified instance for SpanContext in context
Using a constant for tracing component name in jax-rs
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Build fixes for tracing
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Outbound security span now child of outbound jersey call.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
* Review fixes - remove the word environment.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>