Interface MetricsEndpoint.Builder

  • Method Details

    • metricsEndpointPath

      MetricsEndpoint.Builder metricsEndpointPath(String metricsEndpointPath)

      The path to the metrics endpoint exposed by the container. For example, /metrics or /server/metrics. The path must start with / and can contain alphanumeric characters, forward slashes, underscores, hyphens, and periods. Maximum length is 256 characters. If not specified, defaults to /metrics.

      Parameters:
      metricsEndpointPath - The path to the metrics endpoint exposed by the container. For example, /metrics or /server/metrics. The path must start with / and can contain alphanumeric characters, forward slashes, underscores, hyphens, and periods. Maximum length is 256 characters. If not specified, defaults to /metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricPublishFrequencyInSeconds

      MetricsEndpoint.Builder metricPublishFrequencyInSeconds(Integer metricPublishFrequencyInSeconds)

      The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. Valid values: 10, 30, 60, 120, 180, 240, 300. Defaults to 60.

      Parameters:
      metricPublishFrequencyInSeconds - The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. Valid values: 10, 30, 60, 120, 180, 240, 300. Defaults to 60.
      Returns:
      Returns a reference to this object so that method calls can be chained together.