Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Bump microprofile-metrics-api from 1.1.1 to 2.0#87

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/org.eclipse.microprofile.metrics-microprofile-metrics-api-2.0
Open

Bump microprofile-metrics-api from 1.1.1 to 2.0#87
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/maven/org.eclipse.microprofile.metrics-microprofile-metrics-api-2.0

Conversation

@dependabot-preview
Copy link

Bumps microprofile-metrics-api from 1.1.1 to 2.0.

Release notes

Sourced from microprofile-metrics-api's releases.

MicroProfile Metrics 2.0

To use this version in your code, include the following in your Maven pom:

<dependency>
    <groupId>org.eclipse.microprofile.metrics</groupId>
    <artifactId>microprofile-metrics-api</artifactId>
    <version>2.0</version>
</dependency>

For changes consult the changelog.html file, which also clearly indicates the breaking changes.
The changelog is also part of the spec documents.

First release candidate of MP-Metrics 2.0

<dependency>
    <groupId>org.eclipse.microprofile.metrics</groupId>
    <artifactId>microprofile-metrics-api</artifactId>
    <version>2.0-RC1</version>
</dependency>

Changes in 2.0 (see spec document for a nicer rendering of the list):

  • Refactoring of Counters, as the old @​Counted was misleading in practice.

    • Counters via @​Counted are now always monotonic, the monotonic attribute is gone. The Counted interface lost the dec() methods.
    • Former non-monotonic counters are now @​ConcurrentGauge and also in the output reported as gauges.
    • See Migration hints about migration of applications using MicroProfile Metrics.
  • Removed unnecessary @​InterceptorBinding annotation from org.eclipse.microprofile.metrics.annotation.Metric.

  • Removed deprecated org.eclipse.microprofile.metrics.MetricRegistry.register(String name, Metric, Metadata)

  • Metadata is now immutable and built via a MetadataBuilder.

  • Introduced a Tag object which represents a singular tag key/value pair.

  • Metrics are now uniquely identified by a MetricID (combination of the metric’s name and tags).

  • MetricFilter modified to filter with MetricID instead of name

  • The 'Metadata' is mapped to a unique metric name in the MetricRegistry and this relationship is immutable.

  • Tag key names for labels are restricted to match the regex [a-zA-Z_][a-zA-Z0-9_]*.

  • Tag values defined through MP_METRICS_TAGS must escape equal signs = and commas , with a backslash .

  • JSON output format for GET requests now appends tags along with the metric in metricName;tag=value;tag=value format. JSON format for OPTIONS requests have been modified such that the 'tags' attribute is a list of nested lists which holds tags from different metrics that are associated with the metadata.

  • OpenMetrics format - formerly called Prometheus format

... (truncated)
Commits
  • a43513f [maven-release-plugin] prepare release 2.0
  • c493c98 Merge pull request #380 from pilhuhn/change_change_log
  • 3119c44 #381 mandate the api versions (#382)
  • 776477d Move changelog to end of spec.
  • df904bb Fix the changelog formatting a bit (#378)
  • d053e03 [maven-release-plugin] prepare for next development iteration
  • 7538490 [maven-release-plugin] prepare release 2.0-RC1
  • 076eb12 minor spec updates (#377)
  • 800b899 Modified TCK to satisfy metric name/type updates (#371)
  • f26c4e4 Merge pull request #374 from jmartisk/option-to-skip-base-tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [microprofile-metrics-api](https://github.com/eclipse/microprofile-metrics) from 1.1.1 to 2.0.
- [Release notes](https://github.com/eclipse/microprofile-metrics/releases)
- [Commits](microprofile/microprofile-metrics@1.1.1...2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant