Skip to content

Commit

Permalink
Added vm name and version to metrics json
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Gilliard committed Jul 8, 2011
1 parent 61d6513 commit 4c63d6e
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -282,6 +282,13 @@ private void writeVmMetrics(JsonGenerator json, boolean showFullSamples) throws
json.writeStartObject();
{

json.writeFieldName("vm");
json.writeStartObject();
{
json.writeStringField("name", vmName());
json.writeStringField("version", vmVersion());
}
json.writeEndObject();
json.writeFieldName("memory");
json.writeStartObject();
{
Expand Down

0 comments on commit 4c63d6e

Please sign in to comment.