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