<?php

declare(strict_types=1);

namespace Drupal\native_observability_otel\Plugin\NativeObservabilityExporter;

/**
 * Provides a Prometheus-compatible exporter plugin.
 *
 * @NativeObservabilityExporter(
 *   id = "prometheus",
 *   label = @Translation("Prometheus exporter"),
 *   description = @Translation("Exposes Prometheus-compatible metrics output for pull-based scraping.")
 * )
 */
final class PrometheusExporter extends ExporterBase {

  /**
   * {@inheritdoc}
   */
  public function export(array $payload): bool {
    return TRUE;
  }

}
