Skip to content

Commit 7dc60fc

Browse files
wilkinsonaphilwebb
authored andcommitted
Remove actuate from restructured metrics package names
Issue: 46071
1 parent ded9701 commit 7dc60fc

File tree

86 files changed

+147
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+147
-107
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure-all/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/test/MetricsIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
4242
import org.springframework.boot.http.converter.autoconfigure.HttpMessageConvertersAutoConfiguration;
4343
import org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration;
44-
import org.springframework.boot.jdbc.actuate.metrics.autoconfigure.DataSourcePoolMetricsAutoConfiguration;
45-
import org.springframework.boot.jpa.hibernate.actuate.metrics.autoconfigure.HibernateMetricsAutoConfiguration;
44+
import org.springframework.boot.jdbc.metrics.autoconfigure.DataSourcePoolMetricsAutoConfiguration;
45+
import org.springframework.boot.jpa.hibernate.metrics.autoconfigure.HibernateMetricsAutoConfiguration;
4646
import org.springframework.boot.metrics.autoconfigure.MetricsAutoConfiguration;
4747
import org.springframework.boot.metrics.autoconfigure.jvm.JvmMetricsAutoConfiguration;
4848
import org.springframework.boot.metrics.autoconfigure.logging.logback.LogbackMetricsAutoConfiguration;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.amqp.actuate.metrics;
17+
package org.springframework.boot.amqp.metrics;
1818

1919
import java.util.Collections;
2020

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.amqp.actuate.metrics.autoconfigure;
17+
package org.springframework.boot.amqp.metrics.autoconfigure;
1818

1919
import com.rabbitmq.client.ConnectionFactory;
2020
import com.rabbitmq.client.MetricsCollector;
@@ -23,7 +23,7 @@
2323

2424
import org.springframework.amqp.rabbit.connection.AbstractConnectionFactory;
2525
import org.springframework.beans.factory.config.BeanPostProcessor;
26-
import org.springframework.boot.amqp.actuate.metrics.RabbitMetrics;
26+
import org.springframework.boot.amqp.metrics.RabbitMetrics;
2727
import org.springframework.context.ApplicationContext;
2828
import org.springframework.core.Ordered;
2929
import org.springframework.util.StringUtils;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.amqp.actuate.metrics.autoconfigure;
17+
package org.springframework.boot.amqp.metrics.autoconfigure;
1818

1919
import com.rabbitmq.client.ConnectionFactory;
2020
import io.micrometer.core.instrument.MeterRegistry;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* Auto-configuration for RabbitMQ metrics.
1919
*/
20-
package org.springframework.boot.amqp.actuate.metrics.autoconfigure;
20+
package org.springframework.boot.amqp.metrics.autoconfigure;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* Metrics for AMQP and RabbitMQ.
1919
*/
20-
package org.springframework.boot.amqp.actuate.metrics;
20+
package org.springframework.boot.amqp.metrics;
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
org.springframework.boot.amqp.actuate.health.autoconfigure.RabbitHealthContributorAutoConfiguration
2-
org.springframework.boot.amqp.actuate.metrics.autoconfigure.RabbitMetricsAutoConfiguration
32
org.springframework.boot.amqp.autoconfigure.RabbitAutoConfiguration
3+
org.springframework.boot.amqp.metrics.autoconfigure.RabbitMetricsAutoConfiguration
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.amqp.actuate.metrics;
17+
package org.springframework.boot.amqp.metrics;
1818

1919
import com.rabbitmq.client.ConnectionFactory;
2020
import io.micrometer.core.instrument.Tags;
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.actuate.autoconfigure.metrics.amqp;
17+
package org.springframework.boot.amqp.metrics.autoconfigure;
1818

1919
import io.micrometer.core.instrument.MeterRegistry;
2020
import io.micrometer.core.instrument.binder.MeterBinder;
2121
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
2222
import org.junit.jupiter.api.Test;
2323

2424
import org.springframework.amqp.rabbit.core.RabbitTemplate;
25-
import org.springframework.boot.amqp.actuate.metrics.autoconfigure.RabbitMetricsAutoConfiguration;
2625
import org.springframework.boot.amqp.autoconfigure.RabbitAutoConfiguration;
2726
import org.springframework.boot.metrics.autoconfigure.MetricsAutoConfiguration;
2827
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.actuate.autoconfigure.metrics.amqp;
17+
package org.springframework.boot.amqp.metrics.autoconfigure;
1818

1919
import io.micrometer.core.instrument.MeterRegistry;
2020
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
2121
import org.junit.jupiter.api.Test;
2222

2323
import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
2424
import org.springframework.amqp.rabbit.connection.ConnectionFactory;
25-
import org.springframework.boot.amqp.actuate.metrics.autoconfigure.RabbitMetricsAutoConfiguration;
2625
import org.springframework.boot.amqp.autoconfigure.RabbitAutoConfiguration;
2726
import org.springframework.boot.autoconfigure.AutoConfigurations;
2827
import org.springframework.boot.metrics.autoconfigure.MetricsAutoConfiguration;

0 commit comments

Comments
 (0)