File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 3636]
3737LOG_FORMAT = "json"
3838PROMETHEUS_HISTOGRAM_BUCKETS = prometheus_client .Histogram .DEFAULT_BUCKETS
39+ PROMETHEUS_HTTP_SERVER_RESPONSE_SIZE_HISTOGRAM_BUCKETS = PROMETHEUS_HISTOGRAM_BUCKETS
3940ROOT_URLCONF = "common.core.urls"
4041TIME_ZONE = "UTC"
4142USE_TZ = True
Original file line number Diff line number Diff line change 11import prometheus_client
2+ from django .conf import settings
23
34from common .prometheus import Histogram
45
1213 "HTTP request duration in seconds" ,
1314 ["route" , "method" , "response_status" ],
1415)
15- flagsmith_http_server_response_size_bytes = prometheus_client . Histogram (
16+ flagsmith_http_server_response_size_bytes = Histogram (
1617 "flagsmith_http_server_response_size_bytes" ,
1718 "HTTP response size in bytes" ,
1819 ["route" , "method" ],
20+ buckets = settings .PROMETHEUS_HTTP_SERVER_RESPONSE_SIZE_HISTOGRAM_BUCKETS ,
1921)
You can’t perform that action at this time.
0 commit comments