Skip to content

Commit

Permalink
absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
sholdee committed Jun 22, 2024
1 parent 49a054f commit 49ab7a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adguard_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
dns_queries_total = Counter('dns_queries_total', 'Total number of DNS queries')
dns_query_duration_seconds = Gauge('dns_query_duration_seconds', 'Duration of DNS queries', ['qh', 'ip', 'qt', 'response_size', 'result_reason', 'status', 'upstream'])

log_file_path = 'querylog.json'
position_file_path = '.position'
log_file_path = '/opt/adguardhome/work/data/querylog.json'
position_file_path = '/opt/adguardhome/work/data/.position'

def get_last_position():
try:
Expand Down

0 comments on commit 49ab7a5

Please sign in to comment.