Skip to content

Loongson CPU mips64le compiled through. #418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Loongson CPU mips64le compiled through. #418

merged 1 commit into from
Aug 28, 2020

Conversation

w345731923
Copy link
Contributor

@w345731923 w345731923 commented Jul 29, 2020

GOOS="linux"
GOARCH="mips64le"
GOROOT="/opt/go/go1.14.6"

the issues: #417
lol,I solved

I forgot to put some material on it.

[root@localhost postgres_exporter]# arch
mips64el
[root@localhost postgres_exporter]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@localhost 桌面]# uname -a
Linux localhost.localdomain 3.10.0-693.21.1.ns7.007.mips64el #1 SMP PREEMPT Wed May 23 19:09:06 CST 2018 mips64el mips64el mips64el GNU/Linux
[root@localhost postgres_exporter]# export DATA_SOURCE_NAME="postgresql://postgres:postgres@localhost:5432/postgres?sslmode=disable"
[root@localhost postgres_exporter]# ./postgres_exporter
INFO[0000] Established new database connection to "localhost:5432". source="postgres_exporter.go:878"
INFO[0000] Semantic Version Changed on "localhost:5432": 0.0.0 -> 11.2.0 source="postgres_exporter.go:1405"
INFO[0000] Starting Server: :9187 source="postgres_exporter.go:1672"

[root@localhost postgres_exporter]# curl http://localhost:9187/metrics
go_gc_duration_seconds{quantile="0"} 0
go_gc_duration_seconds{quantile="0.25"} 0
go_gc_duration_seconds{quantile="0.5"} 0
go_gc_duration_seconds{quantile="0.75"} 0
go_gc_duration_seconds{quantile="1"} 0
go_gc_duration_seconds_sum 0
go_gc_duration_seconds_count 0
go_goroutines 9
...
promhttp_metric_handler_requests_in_flight 1
promhttp_metric_handler_requests_total{code="200"} 2
promhttp_metric_handler_requests_total{code="500"} 0
promhttp_metric_handler_requests_total{code="503"} 0

sorry,I have deleted the # text, it will affect the beauty.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 64.7% when pulling fff303b on w345731923:master into e2df41f on wrouesnel:master.

@wrouesnel wrouesnel merged commit b12c8ab into prometheus-community:master Aug 28, 2020
ritbl pushed a commit to heniek/postgres_exporter that referenced this pull request Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants