[ https://issues.apache.org/jira/browse/ARTEMIS-2308?focusedWorklogId=249879&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-249879 ]
ASF GitHub Bot logged work on ARTEMIS-2308: ------------------------------------------- Author: ASF GitHub Bot Created on: 29/May/19 06:42 Start Date: 29/May/19 06:42 Worklog Time Spent: 10m Work Description: franz1981 commented on pull request #2681: ARTEMIS-2308 Support exporting metrics URL: https://github.com/apache/activemq-artemis/pull/2681#discussion_r288413505 ########## File path: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/metrics/MetricsManager.java ########## @@ -0,0 +1,125 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.activemq.artemis.core.server.metrics; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.function.ToDoubleFunction; + +import io.micrometer.core.instrument.Gauge; +import io.micrometer.core.instrument.Meter; +import io.micrometer.core.instrument.MeterRegistry; +import io.micrometer.core.instrument.Metrics; +import io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics; +import org.apache.activemq.artemis.api.core.management.ResourceNames; +import org.apache.activemq.artemis.core.server.ActiveMQServerLogger; + +public class MetricsManager { Review comment: And it is more safe concurrently, given that the overall configuration is consider an atomic operation ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 249879) Time Spent: 8h 50m (was: 8h 40m) > Support exporting metrics > ------------------------- > > Key: ARTEMIS-2308 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2308 > Project: ActiveMQ Artemis > Issue Type: New Feature > Affects Versions: 2.7.0 > Reporter: Justin Bertram > Assignee: Justin Bertram > Priority: Major > Time Spent: 8h 50m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)