diff options
| author | Kyren223 <contact@kyren.codes> | 2026-06-09 00:33:51 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-06-09 00:33:51 +0300 |
| commit | 85f7f33f2f0c8946ff9d76e51e8684468ecb6801 (patch) | |
| tree | a63a5480fe13672340c746f62f23a4a1db8dbe43 /modules/eko-config.alloy | |
| parent | 0a4ee62cb14c215bba0dec11e16dac496b9e286e (diff) | |
removed most of the nix related files
Diffstat (limited to 'modules/eko-config.alloy')
| -rw-r--r-- | modules/eko-config.alloy | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/modules/eko-config.alloy b/modules/eko-config.alloy deleted file mode 100644 index d9c2e23..0000000 --- a/modules/eko-config.alloy +++ /dev/null @@ -1,64 +0,0 @@ -local.file_match "eko_logs" { - path_targets = [ - { __path__ = "/home/kyren/projects/eko/logs/*.log" }, - ] - sync_period = "1s" -} - -loki.source.file "eko_tail" { - targets = local.file_match.eko_logs.targets - forward_to = [loki.write.eko.receiver] - tail_from_end = true -} - -loki.write "eko" { - endpoint { - url = "http://localhost:3100/loki/api/v1/push" - } - external_labels = { app = "eko-server" } -} - -pyroscope.write "write_job_name" { - endpoint { - url = "http://localhost:4040" - } -} - -pyroscope.scrape "scrape_job_name" { - targets = [{"__address__" = "localhost:4040", "service_name" = "eko"}] - forward_to = [pyroscope.write.write_job_name.receiver] - - profiling_config { - profile.process_cpu { - enabled = true - } - - profile.godeltaprof_memory { - enabled = true - } - - profile.memory { // disable memory, use godeltaprof_memory instead - enabled = false - } - - profile.godeltaprof_mutex { - enabled = true - } - - profile.mutex { // disable mutex, use godeltaprof_mutex instead - enabled = false - } - - profile.godeltaprof_block { - enabled = true - } - - profile.block { // disable block, use godeltaprof_block instead - enabled = false - } - - profile.goroutine { - enabled = true - } - } -} |
