Skip to content

Commit

Permalink
Fix the default port of Apache. (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
qingling128 authored Feb 8, 2022
1 parent 2d529be commit 6e2286b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/apache.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type MetricsReceiverApache struct {
ServerStatusURL string `yaml:"server_status_url" validate:"omitempty,url"`
}

const defaultServerStatusURL = "http://localhost:8080/server-status?auto"
const defaultServerStatusURL = "http://localhost:80/server-status?auto"

func (r MetricsReceiverApache) Type() string {
return "apache"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ processors:
receivers:
apache/apache_apache:
collection_interval: 60s
endpoint: http://localhost:8080/server-status?auto
endpoint: http://localhost:80/server-status?auto
hostmetrics/default__pipeline_hostmetrics:
collection_interval: 60s
scrapers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ processors:
receivers:
apache/apache__pipeline_apache__metrics:
collection_interval: 30s
endpoint: http://localhost:8080/server-status?auto
endpoint: http://localhost:80/server-status?auto
hostmetrics/default__pipeline_hostmetrics:
collection_interval: 60s
scrapers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ metrics:
receivers:
apache:
type: apache
server_status_url: http://localhost:80/server-status?auto
service:
pipelines:
apache:
Expand Down

0 comments on commit 6e2286b

Please sign in to comment.