OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) vor 1 Jahr
..
internal 91643ba261 [mdatagen] allow adding resource_attribute warnings (#27257) vor 1 Jahr
testdata cd91fb4789 [chore][golden] Normal timestamps in golden metric files (#23002) vor 1 Jahr
Makefile d20e7d0a44 Rename httpd receiver to apache receiver (#6207) vor 3 Jahren
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) vor 1 Jahr
config.go 5133f4ccd6 [chore] use license shortform (#22052) vor 1 Jahr
config_test.go 5133f4ccd6 [chore] use license shortform (#22052) vor 1 Jahr
doc.go 5133f4ccd6 [chore] use license shortform (#22052) vor 1 Jahr
documentation.md fca32456c8 [chore] [receiver/apache] Use type generated from metadata.yaml (#21272) vor 1 Jahr
factory.go eacf9c3e1d [chore] Updates to scrape duration (#23030) vor 1 Jahr
factory_test.go 5133f4ccd6 [chore] use license shortform (#22052) vor 1 Jahr
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) vor 1 Jahr
go.sum 40b485f08a Update core for v0.90.0 release (#29539) vor 1 Jahr
integration_test.go 27cbd548a9 [chore] Remove several unnecessary custom dockerfiles (#23046) vor 1 Jahr
metadata.yaml 326d0261f9 [cmd/mdatagen] Rename aggregation to aggregation_temporality for sum metrics (#24808) vor 1 Jahr
scraper.go 29ea5a964d [cmd/mdatagen] Avoid reusing the same ResourceBuilder instance (#24762) vor 1 Jahr
scraper_test.go cd92432fd2 [pkg/golden] internal/coreinternal/golden -> pkg/golden (#28636) vor 1 Jahr

README.md

Apache Web Server Receiver

Status
Stability beta: metrics
Distributions contrib, observiq, sumo
Issues Open issues Closed issues
Code Owners @djaglowski

This receiver fetches stats from a Apache Web Server instance using the server-status?auto endpoint.

Prerequisites

This receiver supports Apache Web Server version 2.4+

mod_status module

In order to receive server statistics, you must configure the server's httpd.conf file to enable status support.

Configuration

The following settings are required:

  • endpoint (default: http://localhost:8080/server-status?auto): The URL of the httpd status endpoint

The following settings are optional:

  • collection_interval (default = 10s): This receiver collects metrics on an interval. This value must be a string readable by Golang's time.ParseDuration. Valid time units are ns, us (or µs), ms, s, m, h.
  • initial_delay (default = 1s): defines how long this receiver waits before starting.

Example Configuration

receivers:
  apache:
    endpoint: "http://localhost:8080/server-status?auto"

The full list of settings exposed for this receiver are documented here with detailed sample configurations here.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml