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

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