| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| 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. |
| --> |
| |
| <solr> |
| <metrics enabled="${metricsEnabled:true}"> |
| <suppliers> |
| <counter class="${counter.class:}"> |
| <str name="foo">bar</str> |
| <int name="wxt">100</int> |
| <bool name="flag">true</bool> |
| </counter> |
| <meter class="${meter.class:}"> |
| <str name="foo">bar</str> |
| <str name="clock">${clock:user}</str> |
| </meter> |
| <timer class="${timer.class:}"> |
| <str name="foo">bar</str> |
| <str name="clock">${clock:user}</str> |
| <str name="reservoir">${timer.reservoir:}</str> |
| <int name="size">${histogram.size:-1}</int> |
| <double name="alpha">${histogram.alpha:-1}</double> |
| <long name="window">${histogram.window:-1}</long> |
| <str name="strParam">strParam</str> |
| <int name="intParam">-100</int> |
| <bool name="boolParam">true</bool> |
| </timer> |
| <histogram class="${histogram.class:}"> |
| <str name="foo">bar</str> |
| <str name="clock">${clock:user}</str> |
| <str name="reservoir">${histogram.reservoir:}</str> |
| <int name="size">${histogram.size:-1}</int> |
| <double name="alpha">${histogram.alpha:-1}</double> |
| <long name="window">${histogram.window:-1}</long> |
| </histogram> |
| </suppliers> |
| <hiddenSysProps> |
| <str>foo</str> |
| <str>bar</str> |
| <str>baz</str> |
| </hiddenSysProps> |
| <!-- this reporter doesn't specify 'group' or 'registry', it will be instantiated for any group. --> |
| <reporter name="universal" class="org.apache.solr.metrics.reporters.MockMetricReporter"> |
| <str name="configurable">configured</str> |
| </reporter> |
| </metrics> |
| </solr> |