Comments (4)
from microprofile-metrics.
I've been thinking about this - my first reaction was just "no" because I think those sorts of tests are the responsibility of vendors and it would mean we would need to keep the TCK updated each time someone wants to implement the spec.
Could Metrics report metadata about itself? like available metrics and their types? We could then automate basic testing of vendor endpoints, i.e. testing for something rather than nothing or that the result is an Integer when we expect it to be. Not sure if we could maybe hook into the OpenAPI proposal for that (although I haven't seen any work on it since the repo was created)
from microprofile-metrics.
from microprofile-metrics.
Yes, that is what OPTIONS /metrics/ is for.
Does the mention of sub-trees in the description cover things like /metrics/vendor/group1/fooVal
? E.g. we make heavy use of Hazelcast in Payara, so we may want to expose some Hazelcast metrics under something like /metrics/payara/hazelcast/${cacheName}
or something.
Is there a requirement for all metrics to be "flat" (meaning no hierarchy below the 3rd tier) or would something like the above be permitted? I can't see anywhere in the spec where it defines the metadata for an endpoint which exposes no data directly.
from microprofile-metrics.
Related Issues (20)
- [Potential] Re-instate @RegistryType and MetricRegistry.Type, but as deprecated instead. HOT 1
- Update to use MicroProfile Parent 3.0
- `@RegistryScope` should be a qualifier HOT 3
- Consider clarifying what period of time the JAX-RS metrics measure and assumptions about timeliness of metrics updates
- Outdated dependency versions HOT 12
- Open Liberty 22.0.0.13-beta: MicroProfile Metrics 5.0 Compatible Certification Request
- ensure MP Starter works with MP Metrics 5 HOT 1
- Address the redundancy of units for the Timer metric HOT 1
- The `@Timed` annotation defaults to SECONDS when it should be NANOSECONDS.
- Errors in MicroProfile 6.0 javadoc generation HOT 4
- requirement to have consistent tag sets causes problems for multi-app app server implementations
- Clarify naming convention when `@Metric` applies to a parameter
- Clarify: Which annotations can be used on private methods? HOT 1
- Add JPMS module-info.java
- Create spec for MP Metrics 5.1 HOT 1
- Consider changing TCK tests so they do not interfere with each other or rely on ordering
- Update to use the mp-parent 3.2
- Fix optional Base Metrics TCK test where `gc.time` is checked as a counter when it should be gauge. HOT 1
- Open Liberty 22.0.0.10-beta: MicroProfile Metrics 5.1 Compatible Certification Request
- build error when doclint checks are enabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microprofile-metrics.