Skip to Content

Observability

Zenifra observability helps track project behavior after deployment. Application logs are available on every plan; metric availability varies according to the subscribed plan.

Required permissions

ActionMinimum scope
Read aggregated metrics and network analyticsproject.metrics.read on project:<project-id>
Read visitor data (request events, source IPs, and the Visitors page)project.network.visitors.read on project:<project-id>
Read application and build logsproject.logs.read on project:<project-id>

An owner has full access in a user session. assistant, member, and API Keys need the specific scope.

Scope: this page is about logs and metrics from the running application. In projects with a Git repository (GitHub, GitLab, or Forgejo), build logs live in the Deploys tab of the project page: the last 200 lines by default (up to 500), with history for the last 30 builds or 30 days.

HTTP projects

Video: project logs, resource usage, the Visitors page, hourly cost, healthcheck, email alerts, Log history, instances and Protection, on a Premium Plus project. The organization Logs page has its own video in Logs.

For HTTP projects, application logs are available on every plan. From the Premium plan, Zenifra also provides visibility into:

  • CPU usage
  • RAM usage
  • number of HTTP requests received by the application
  • network traffic by time window
  • distribution by HTTP status
  • most accessed routes and top user agents
  • P95 latency when available
  • request events with raw source IP, for people with the visitor data permission

Persistent storage usage shows in the Storage card on every plan, including databases and Valkey. From 80% of the capacity the card shows a warning, and from 95% it flags the storage as almost full.

In the Recent tab of the logs card, application logs arrive live from the instances, in about 1 second, while the card is open. When opened, the card shows the most recent output (up to about 50 KB), with no history. See Live logs. To keep logs, turn on Log history, which saves the files to the organization's Armazém.

Granularity and update window

Logs and metrics are viewed by instance when the project has more than one instance.

ResourceConsole updateRetention
Application logs (Recent tab)live, in about 1 second, with the card openno history (live read)
Log history (optional)hourly files, with up to about 1 hour of delay7, 30, or 90 days, in Armazém
CPU and memory metricsloaded when you open the sectioncurrent value
HTTP network traffic and request eventscan take a few minutes to appearup to 7 days
Health check failureschecked every 60 seconds30 days
Auto-scaling eventson each eventabout 13 months

Use these windows when investigating recent deployments, traffic spikes, or behavior immediately after a restart.

Log history

The Recent tab shows only the latest lines of the instances (terminated ones appear next to the active ones), and those lines are lost when an instance is recreated. To keep application logs, HTTP projects can turn on Log history. The files go to your own organization's Armazém.

How to turn it on

  1. Make sure the organization has Armazém. If it does not, create it on the Armazém page of the console; it is available to every organization.
  2. In the project settings in the console, open the Log history card.
  3. Turn on the history and choose the retention: 7, 30, or 90 days.

Where the files go

The application output (stdout and stderr) is saved every hour, compressed, to a private bucket in the organization's Armazém. Each organization has a single logs bucket, created automatically the first time an application turns on the history. Its name is logs- followed by 16 random letters and numbers, such as logs-k3j9x0m2p8q4r7t1. The Log history card shows the bucket name and a View in Armazém link.

The setting is still per application: each one turns on the history and picks its own retention.

Inside the bucket, files are in the logs/ folder. Each hour becomes one file, with the day and hour in Brasília time:

logs/<project-name>-<projectId>/<YYYY>/<MM>/<DD>/<HH>.ndjson.gz

For example, the logs from 10:00 to 10:59 (Brasília time) on November 19, 2026 are in logs/<project-name>-<projectId>/2026/11/19/10.ndjson.gz. The ts field of each line stays in UTC.

If you rename a project that has Log history turned on, the console warns you that the current application's logs stay in the old folder and are written to the new one from then on.

The file has one JSON object per line, with these fields:

FieldContent
tstime of the line
instanceinstance that wrote the line
streamstdout or stderr
messagetext of the line

Files older than the chosen retention are deleted automatically by an expiration rule on the bucket.

History tab

In the project logs card, the History tab shows the stored files:

  1. Choose a day (in Brasília time, from the last 90 days).
  2. Pick one of the available hours.
  3. Optionally, search for text.

Each line shows the time, the instance, stdout or stderr, and the message, with up to 2,000 lines per query. The Download button downloads the file for that hour.

The history becomes available with up to about 1 hour of delay, because files are written hourly. The most recent logs keep showing in the Recent tab, which shows lines live.

To search all the organization's applications at once, use the Logs page in the console: see Organization logs.

Cost

The files are billed as Armazém storage, per GB-month, at their compressed size. They count toward the Armazém free 5 GB. There is no extra fee. See prices in Armazém limits and billing.

Limits

  • Lines longer than 16 KiB are truncated.
  • Above 30,000 lines per minute on one instance, the excess is dropped.
  • Only HTTP projects have log history. Preview environments and scheduled Jobs do not; Jobs already keep the last 50 KB of log from each run for 90 days.

Turning it off

When you turn the history off, new files stop being written. Existing files stay in Armazém until the retention expires. You can delete them in Armazém at any time: the data is yours.

Personal data

You remain responsible for the personal data your application writes to its logs, under the LGPD (Brazil's data protection law). Avoid writing passwords, tokens, and identity documents to logs.

Health check

Application healthcheck card in Edit project, Monitoring group, with the /health check path

From the Premium plan, HTTP projects can enable the Application healthcheck in Edit project: Zenifra calls the configured path (for example, /health) every 60 seconds, with a 5-second timeout and a 30-second initial delay, and lists failures from the last 30 days. See Ports and health checks.

Scheduled Jobs

Runs tab of the Job page with the Job schedule and the runs of the cycle

Scheduled Jobs have per-run logs and metrics in the run list on the project page. See Scheduled Jobs.

HTTP network traffic

How the application responds section of the Visitors page, with response status, response time and data

HTTP traffic is organized on the project's Visitors page, together with who visits the application, in 1 h, 24 h, and 7 day periods. The page shows:

  • requests, application response time (average and P95) and error rate of the period
  • browsers, systems, robots and automation and top source IPs
  • most requested routes, with average response time, P95 and error rate of each route
  • distribution across 2xx, 3xx, 4xx, and 5xx responses, with the data received and sent
  • individual request events with raw source IP, sanitized route, status, and latency

When you click a status class, such as 4xx or 5xx, the console opens a drill-down with routes, user agents, and request events associated with that filter. This helps investigate client errors, server failures, involved source IPs, and high-volume endpoints.

Privacy: Request events display each visitor's raw source IP and user agent and are retained for up to 7 days. That is why they require the project.network.visitors.read permission on the project, which only the owner has by default; project.metrics.read unlocks only the aggregated data. Without this permission, the console still shows aggregated requests, status codes, routes, and user agents, but does not display request events. Query strings are not stored; for referrers we keep only the origin domain, used on the Visitors page. See Visitor data.

Databases

Metrics tab of the database page, with CPU and memory over time and the PostgreSQL metrics

PostgreSQL and MariaDB projects on the db-premium and db-enterprise plans have resource metrics and native snapshots for each instance or replica.

EngineNative groups
PostgreSQLhealth, connections, transactions, read cache, activity, locks, latency, WAL/checkpoints, storage, and replication
MariaDBhealth, connections and threads, activity, read cache, redo/I/O, locks, latency, storage, and replication

Read cache represents the engine's internal cache, not the operating system cache. Accumulated fields are counters; per-second fields are rates calculated between samples. After a restart or reset, a rate may be unavailable until a new valid baseline exists.

The Console shows the last collection time and distinguishes available, partial, stale, and unavailable data. Unsupported or uncomputable fields appear as unavailable, never as a synthetic zero.

This capability provides the latest snapshot. history: null means there is no time-series retention or historical chart. See the PostgreSQL, MariaDB, and API reference pages for details.

Valkey projects

Valkey projects have a dedicated observability panel with public instance identifiers such as instance-1.

Access is controlled by the capability returned for the project. When the plan includes metrics, the capability returns access: "snapshot"; otherwise it returns access: "none". The Console checks this capability before requesting any snapshot.

Native snapshot metrics

When a valid snapshot exists, the native Valkey contract contains:

GroupMetrics
Memory and capacityused memory, peak used memory, memory limit, and fragmentation ratio
Clientsconnected clients and blocked clients
Activityoperations per second, inbound rate, and outbound rate
Key lifecycleexpired keys and keys removed by eviction
Instance stateuptime, profile, instance, schema version, and availability
Reliabilityreplication status, available replicas, expected replicas, replication lag, persistence status, and last persistence success

Inbound and outbound rates are expressed in bytes per second. Values may be null when data is unavailable or there is not enough evidence to calculate it.

Profile-specific metrics

  • Cache: total hits, total misses, and hit ratio. The hit ratio is calculated between snapshots and may be unavailable for the first snapshot.
  • Key-value: total keys and the number of keys with expiration configured.
  • Queue: uses the common metrics. Queue depth, item age, and consumer lag are not part of the verified capability.

Console and availability

Overview tab of the Valkey Cache page, with the service connection, Metrics and Cost tabs

In the Console, the panel shows the legacy CPU and memory fields, as well as used memory and limit, connected clients, activity, key lifecycle, profile-specific metrics, uptime, profile, and the selected instance.

The API contract also returns peak memory, fragmentation, blocked clients, and replication and persistence details for integrations. These fields do not yet have dedicated cards in the current visual panel.

When no snapshot exists yet, collection is unavailable, or the snapshot is invalid, the Console shows unavailable and does not invent values, timestamps, or health states.

Check the project's capabilities before building integrations:

  • GET /v1/project/{id}/metrics/capabilities
  • GET /v1/project/{id}/instances
  • GET /v1/project/{id}/metrics?instance={instance}

For snapshot tiers, the update interval indicated by refresh_seconds is 60 seconds. Current history is null: this capability has no historical retention or historical charts.

Email alerts

Email alerts card in the project settings, with the list of what sends an email and the alerts turned on

Applications, PostgreSQL, MariaDB and ClickHouse databases, Valkey services and scheduled Jobs, on any plan, can notify the organization owner by email when something needs attention. Preview environments have no alerts. Alerts are off by default, except on scheduled Jobs, which are created with them on. Turn them on or off in the Email alerts card of the project settings in the console, or through the API. Changing them requires project.instances.update on project:<project-id>.

With alerts on, you receive an email when:

  • an instance restarts or stops unexpectedly, including restarts caused by running out of memory;
  • an instance's CPU usage reaches 80% of the plan capacity;
  • an instance's memory usage reaches 80% of the plan capacity;
  • storage reaches 80% of the contracted capacity, and again at 95% (almost full).

On a scheduled Job, you receive an email when a run:

  • ends with an error (a non-zero exit code);
  • is stopped because it reached the memory limit of the plan;
  • is stopped because it wrote more than the temporary disk of the plan;
  • goes past the 60-minute limit and is stopped.

Storage depends on the project type:

  • Application with persistent storage: the warning looks at the application volume.
  • Application without persistent storage: the warning looks at each instance's storage. When it reaches the limit, the instance restarts and the data in that storage is lost.
  • Databases and Valkey key-value or queue: the warning looks at each instance's data volume.

In Valkey, memory is compared with the space available for data, which is 80% of the instance memory: key-value and queue reject writes when it runs out. The cache profile gets no memory or storage warning, because being full and evicting the oldest keys is the expected behavior of a cache.

The check runs about every minute, using the most recent usage metrics available. Each email shows when the situation was detected and links straight to the project page in the console. While the situation persists, Zenifra sends at most one email per warning type, per project, every hour. Storage is different: each level (80% and 95%) sends a single email, and the same level is only notified again after usage drops 5 percentage points. The thresholds are fixed.

To stop receiving these emails for all projects, turn off Project warnings and alerts in Account → Notification preferences in the console. Every Zenifra email includes a link to that screen at the bottom.

Features not currently available

These items are not currently available:

  • per-application uptime (the health check failure history is the available indicator)
  • log history for preview environments and scheduled Jobs

Overall platform availability can be followed on the status page: status.zenifra.com.

Daily usage

Use application logs to understand startup errors, runtime exceptions, and configuration issues after the main process has started.

Use the Deploys tab to investigate dependency installation, pre-build, build, and publication failures in projects with a Git repository.

Use CPU, RAM, storage, and HTTP request metrics to decide when to increase instances, change plans, review queries, optimize cache, or investigate abnormal usage.

Next steps

FAQ

Why do data not appear immediately?

Logs and metrics have an update window. Wait a few minutes after deployment, restart, or traffic spikes before concluding there is no data.

Do metrics replace external monitoring?

Not necessarily. For critical operations, combine Zenifra metrics with alerts and application monitoring.

Is automatic autoscaling available?

Yes, for HTTP projects on every paid plan (not on the legacy Free plan). The console also shows an auditable scale up and scale down history, including timestamp, instances, and thresholds.

Last updated on

On this page