Skip to content

Conversation

@MatthewKhouzam
Copy link
Contributor

@MatthewKhouzam MatthewKhouzam commented Feb 6, 2025

What it does

Add MX Bean support to the trace event logger

How to test

Run with -DenableMonitoring=true and attach jconsole to it.

In VisualVM:
image

Follow-ups

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

README.md Outdated
| Instrumentation | 72 ns |
| AsyncFileHandler | 1100 ns |
| FileHandler | 45000 ns |
| Beans Enabled AsyncFileHandler | 1400 ns |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Beans-Enabled?
Could align the column size for other rows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asyncfilehandler adds latencies too.

/**
* Get the observed element name
*
* @return the observed element names (in the order of being added)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name, or are there many names returned (in which case, what is the delimiter?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You got a point, I was talking about the full way of working. But every bean holds one value.

Brings monitoring support to the trace event logger.

Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
@MatthewKhouzam MatthewKhouzam merged commit 8946326 into eclipse-tracecompass:main Feb 14, 2025
3 checks passed
@MatthewKhouzam MatthewKhouzam deleted the frijoles branch February 14, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants