We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.7.33
version: "3.7"
volumes: prometheus_data: {} services: bililive-go: image: chigusa/bililive-go restart: always container_name: bililive-go volumes: - ./Videos:/srv/bililive - ./config.docker.yml:/etc/bililive-go/config.yml ports: - 8080:8080
prometheus: image: quay.io/prometheus/prometheus restart: always container_name: bililive-prom volumes: - prometheus_data:/prometheus - ./contrib/prometheus:/etc/prometheus environment: - TZ=Asia/Shanghai command: - '--storage.tsdb.retention.time=365d' - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.path=/prometheus' - '--web.console.libraries=/usr/share/prometheus/console_libraries' - '--web.console.templates=/usr/share/prometheus/consoles' ports: - 9090:9090
grafana: image: grafana/grafana-oss restart: always container_name: bililive-graf volumes: - ./contrib/grafana/provisioning:/etc/grafana/provisioning environment: - GF_SECURITY_ADMIN_USER=${ADMIN_USER} - GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD} - GF_USERS_ALLOW_SIGN_UP=false - GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/bilipanel.json ports: - 3000:3000
logger=context userId=0 orgId=0 uname= t=2024-11-22T10:16:50.960319913+08:00 level=info msg="Request Completed" method=GET path=/ status=302 remote_addr=172.71.155.8 time_ms=0 duration=827.124µs size=47 referer= handler=/ status_source=server logger=context userId=0 orgId=0 uname= t=2024-11-22T10:16:51.354771246+08:00 level=info msg="Request Completed" method=GET path=/user/auth-tokens/rotate status=302 remote_addr=172.71.155.8 time_ms=6 duration=6.441875ms size=24 referer= handler=/user/auth-tokens/rotate status_source=server logger=context userId=1 orgId=1 uname=xiaogui t=2024-11-22T10:16:53.638254434+08:00 level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=172.71.154.19 time_ms=2 duration=2.894696ms size=0 referer= handler=/api/live/ws status_source=server logger=cleanup t=2024-11-22T10:22:13.061194715+08:00 level=info msg="Completed cleanup jobs" duration=4.293383ms logger=plugins.update.checker t=2024-11-22T10:22:13.464069894+08:00 level=info msg="Update check succeeded" duration=53.112408ms logger=context userId=0 orgId=0 uname= t=2024-11-22T10:22:30.36175268+08:00 level=info msg="Request Completed" method=GET path=/ status=302 remote_addr=40.118.212.119 time_ms=0 duration=81.6µs size=29 referer= handler=/ status_source=server logger=cleanup t=2024-11-22T10:32:13.060740623+08:00 level=info msg="Completed cleanup jobs" duration=3.883381ms logger=plugins.update.checker t=2024-11-22T10:32:13.464367146+08:00 level=info msg="Update check succeeded" duration=53.274451ms logger=infra.usagestats t=2024-11-22T10:34:11.076598386+08:00 level=info msg="Usage stats are ready to report" logger=context userId=0 orgId=0 uname= t=2024-11-22T10:35:57.887766503+08:00 level=info msg="Request Completed" method=GET path=/admin/modules/framework/amp_conf/htdocs/admin/config.php status=302 remote_addr=72.46.130.218 time_ms=0 duration=107.92µs size=29 referer= handler=notfound status_source=server logger=cleanup t=2024-11-22T10:42:13.062315806+08:00 level=info msg="Completed cleanup jobs" duration=5.41207ms logger=plugins.update.checker t=2024-11-22T10:42:13.467406166+08:00 level=info msg="Update check succeeded" duration=56.520547ms
Grafana 面板 统计时长数据会突然暴涨 导致最终时长数据不正确
The text was updated successfully, but these errors were encountered:
No branches or pull requests
程序版本
0.7.33
所使用的 config 文件的内容
version: "3.7"
volumes:
prometheus_data: {}
services:
bililive-go:
image: chigusa/bililive-go
restart: always
container_name: bililive-go
volumes:
- ./Videos:/srv/bililive
- ./config.docker.yml:/etc/bililive-go/config.yml
ports:
- 8080:8080
prometheus:
image: quay.io/prometheus/prometheus
restart: always
container_name: bililive-prom
volumes:
- prometheus_data:/prometheus
- ./contrib/prometheus:/etc/prometheus
environment:
- TZ=Asia/Shanghai
command:
- '--storage.tsdb.retention.time=365d'
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9090:9090
grafana:
image: grafana/grafana-oss
restart: always
container_name: bililive-graf
volumes:
- ./contrib/grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD}
- GF_USERS_ALLOW_SIGN_UP=false
- GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/bilipanel.json
ports:
- 3000:3000
程序 log
logger=context userId=0 orgId=0 uname= t=2024-11-22T10:16:50.960319913+08:00 level=info msg="Request Completed" method=GET path=/ status=302 remote_addr=172.71.155.8 time_ms=0 duration=827.124µs size=47 referer= handler=/ status_source=server
logger=context userId=0 orgId=0 uname= t=2024-11-22T10:16:51.354771246+08:00 level=info msg="Request Completed" method=GET path=/user/auth-tokens/rotate status=302 remote_addr=172.71.155.8 time_ms=6 duration=6.441875ms size=24 referer= handler=/user/auth-tokens/rotate status_source=server
logger=context userId=1 orgId=1 uname=xiaogui t=2024-11-22T10:16:53.638254434+08:00 level=info msg="Request Completed" method=GET path=/api/live/ws status=-1 remote_addr=172.71.154.19 time_ms=2 duration=2.894696ms size=0 referer= handler=/api/live/ws status_source=server
logger=cleanup t=2024-11-22T10:22:13.061194715+08:00 level=info msg="Completed cleanup jobs" duration=4.293383ms
logger=plugins.update.checker t=2024-11-22T10:22:13.464069894+08:00 level=info msg="Update check succeeded" duration=53.112408ms
logger=context userId=0 orgId=0 uname= t=2024-11-22T10:22:30.36175268+08:00 level=info msg="Request Completed" method=GET path=/ status=302 remote_addr=40.118.212.119 time_ms=0 duration=81.6µs size=29 referer= handler=/ status_source=server
logger=cleanup t=2024-11-22T10:32:13.060740623+08:00 level=info msg="Completed cleanup jobs" duration=3.883381ms
logger=plugins.update.checker t=2024-11-22T10:32:13.464367146+08:00 level=info msg="Update check succeeded" duration=53.274451ms
logger=infra.usagestats t=2024-11-22T10:34:11.076598386+08:00 level=info msg="Usage stats are ready to report"
logger=context userId=0 orgId=0 uname= t=2024-11-22T10:35:57.887766503+08:00 level=info msg="Request Completed" method=GET path=/admin/modules/framework/amp_conf/htdocs/admin/config.php status=302 remote_addr=72.46.130.218 time_ms=0 duration=107.92µs size=29 referer= handler=notfound status_source=server
logger=cleanup t=2024-11-22T10:42:13.062315806+08:00 level=info msg="Completed cleanup jobs" duration=5.41207ms
logger=plugins.update.checker t=2024-11-22T10:42:13.467406166+08:00 level=info msg="Update check succeeded" duration=56.520547ms
自由描述
Grafana 面板 统计时长数据会突然暴涨 导致最终时长数据不正确
The text was updated successfully, but these errors were encountered: