arreglados alloy y loki para aceptar emojis
This commit is contained in:
@@ -132,6 +132,10 @@ loki.relabel "syslog" {
|
||||
loki.write "loki" {
|
||||
endpoint {
|
||||
url = "http://loki:3100/loki/api/v1/push"
|
||||
http_headers = {
|
||||
"Content-Type" = ["application/json; charset=utf-8"]
|
||||
"Accept-Charset" = ["utf-8"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+11
-8
@@ -4,13 +4,6 @@ server:
|
||||
http_listen_port: 3100
|
||||
grpc_listen_port: 9096
|
||||
|
||||
# ✅ Agrega esto para que las respuestas HTTP incluyan el charset UTF-8
|
||||
http_server_write_timeout: 30s
|
||||
http_server_read_timeout: 30s
|
||||
http_server_idle_timeout: 30s
|
||||
http_server_compression: true
|
||||
http_server_enable_charset: true # <--- importante
|
||||
|
||||
common:
|
||||
instance_addr: 127.0.0.1
|
||||
path_prefix: /loki
|
||||
@@ -49,5 +42,15 @@ limits_config:
|
||||
pattern_ingester:
|
||||
enabled: true
|
||||
|
||||
# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
|
||||
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
|
||||
#
|
||||
# Statistics help us better understand how Loki is used, and they show us performance
|
||||
# levels for most users. This helps us prioritize features and documentation.
|
||||
# For more information on what's sent, look at
|
||||
# https://github.com/grafana/loki/blob/main/pkg/usagestats/stats.go
|
||||
# Refer to the buildReport method to see what goes into a report.
|
||||
#
|
||||
# If you would like to disable reporting, uncomment the following lines:
|
||||
analytics:
|
||||
reporting_enabled: false
|
||||
reporting_enabled: false
|
||||
Reference in New Issue
Block a user