-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decide on requirement levels for all JVM metrics and their attributes #3416
Comments
I'd like to see each metric have exactly one implementation - either the JMX or JFR based source depending on what's convenient. (Would graal need a separate source for these? I remember @ roberttoyonaga mentioning that certain JFR events are available and there are is maybe some JMX support coming?) If this is the case then all attributes should be required. Maybe you could make the case that certain attributes like |
I'm not sure the actual sources would be different. I think it would still have to be JMX/JFR. It's just that some of the PlatformMXBeans are not fully implemented in SubstrateVM and not all the JFR VM inspection events built into Hotspot are implemented in SubstrateVM either. So if all the metrics/attributes are required, Graal native image would not meet the specification yet (which I guess might not be a big deal).
What about the existing JMX metric gatherers I was re-implementing with JFR a while ago? Should we keep them so in the future we have the option to transition to an entirely JFR implementation, or would you prefer to remove them for simplicity/easier maintenance? |
Even if it were possible to have an entirely JFR implementation, its hard to imagine why that would be preferred to JMX for the metrics we've already established. The JMX implementations are so simple and efficient that as long as the data is available, we should use it. Maybe future java implementations stop implementing the JMX platform beans, but we should cross that bridge when we come to it. |
I believe we have agreed that all metrics should be recommended, except for any metrics not under And we have agreed that all attributes should be recommended. TODO: send PR to mark |
Not sure I'm doing the right thing.. - id: metric.process.runtime.jvm.system.cpu.utilization
type: metric
metric_name: process.runtime.jvm.system.cpu.utilization
requirement_level: opt_in
|
|
oh ya, for now we just have to update the markdown directly, e.g. here: |
I don't think we need to do anything about |
#3413 marks all the metrics as recommended initially, but we should decide if some of them are required for a compliant implementation, and if some of them should be only opt-in.
It also marks all the metric attributes as recommended initially, but we should similarly decide if some of them are required for a compliant implementation, and if some of them should be only opt-in.
The text was updated successfully, but these errors were encountered: