Skip to content

Commit

Permalink
Add actuator when Prometheus is selected
Browse files Browse the repository at this point in the history
Closes gh-1599
  • Loading branch information
mhalbritter committed Sep 27, 2024
1 parent 3d7aa9a commit 6d1dcb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class ObservabilityActuatorBuildCustomizer implements BuildCustomizer<Build> {

private static final List<String> STANDARD_REGISTRY_IDS = Arrays.asList("datadog", "distributed-tracing",
"dynatrace", "graphite", "influx", "new-relic", "otlp-metrics", "wavefront", "zipkin");
"dynatrace", "graphite", "influx", "new-relic", "otlp-metrics", "prometheus", "wavefront", "zipkin");

@Override
public void customize(Build build) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ObservabilityActuatorBuildCustomizerTests extends AbstractExtensionTests {
private static final String SPRING_BOOT_VERSION = "3.3.0";

@ParameterizedTest
@ValueSource(strings = { "datadog", "dynatrace", "influx", "graphite", "new-relic", "otlp-metrics",
@ValueSource(strings = { "datadog", "dynatrace", "influx", "graphite", "new-relic", "otlp-metrics", "prometheus",
"distributed-tracing", "zipkin", "wavefront" })
void actuatorIsAddedWithObservabilityEntries(String dependency) {
assertThat(generateProject(SPRING_BOOT_VERSION, dependency)).mavenBuild()
Expand Down

0 comments on commit 6d1dcb5

Please sign in to comment.