Hey Guys, I have a weird problem with the Promethe...
# help
m
Hey Guys, I have a weird problem with the Prometheus Interface from Lakefs. I am running LakeFS with Docker-Compose and when i access the <domain>:8000/metrics via Domain Name i get following error:
Copy code
<?xml version="1.0" encoding="UTF-8"?>
<Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied.</Message>
    <Resource></Resource>
    <Region>us-east-1</Region>
    <RequestId>2eaff6f1-cd19-40e0-96b8-e2ed6e939fc7</RequestId>
    <HostId>421E2F218CF7AD28</HostId>
</Error>
Error Message from LakeFS Docker Container:
Copy code
time="2021-03-09T10:24:48Z" level=warning msg="could not find access key" func=gateway.AuthenticationHandler.func1 file="build/gateway/middleware.go:46" error="not found: no rows in result set" key=""
When i use instead my <IP>:8000/metrics i get the anwser i want:
Copy code
# HELP api_request_duration_seconds request durations for lakeFS API
# TYPE api_request_duration_seconds histogram
api_request_duration_seconds_bucket{code="200",operation="listRepositories",le="0.001"} 0
...
What did i wrong?