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