Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Loki / Chunks" dashboard uses undefined metrics #1045

Closed
rfratto opened this issue Sep 23, 2019 · 2 comments · Fixed by #1126
Closed

"Loki / Chunks" dashboard uses undefined metrics #1045

rfratto opened this issue Sep 23, 2019 · 2 comments · Fixed by #1126
Assignees
Labels
component/loki good first issue These are great first issues. If you are looking for a place to start, start here! type/bug Somehing is not working as expected

Comments

@rfratto
Copy link
Member

rfratto commented Sep 23, 2019

The "Loki / Chunks" dashboard in the Loki mixin here references the following metrics that are not defined in Loki:

  • loki_ingester_memory_chunks
  • loki_ingester_memory_series
  • loki_ingester_chunk_utilization
  • loki_ingester_chunk_length
  • loki_chunk_store_index_entries_per_chunk
  • loki_ingester_flush_queue_length

It is not clear to me if these metrics need to be defined or if the mixin needs to be updated to use the appropriate currently existing metrics.

@rfratto
Copy link
Member Author

rfratto commented Sep 23, 2019

For reference, the following metrics are currently defined:

By all components:

  • log_messages_total: Total number of messages logged by Loki.
  • loki_request_duration_seconds_count: Number of received HTTP requests.

By distributors:

  • loki_distributor_ingester_appends_total: The total number of batch appends
    sent to ingesters.
  • loki_distributor_ingester_append_failures_total: The total number of failed
    batch appends sent to ingesters.
  • loki_distributor_bytes_received_total: The total number of uncompressed
    bytes received per tenant.
  • loki_distributor_lines_received_total: The total number of lines received
    per tenant.

By ingesters:

  • cortex_ingester_flush_queue_length: The total number of series pending in
    the flush queue.
  • loki_ingester_chunk_age_seconds: Distribution of chunk ages when flushed.
  • loki_ingester_chunk_encode_time_seconds: Distribution of chunk encode times.
  • loki_ingester_chunk_entries: Distribution of entires per-chunk when flushed.
  • loki_ingester_chunk_size_bytes: Distribution of chunk sizes when flushed.
  • loki_ingester_chunk_stored_bytes_total: Total bytes stored in chunks per
    tenant.
  • loki_ingester_chunks_created_total: The total number of chunks created in
    the ingester.
  • loki_ingester_chunks_flushed_total: The total number of chunks flushed by
    the ingester.
  • loki_ingester_chunks_stored_total: Total stored chunks per tenant.
  • loki_ingester_received_chunks: The total number of chunks sent by this
    ingester whilst joining during the handoff process.
  • loki_ingester_samples_per_chunk: The number of samples in a chunk.
  • loki_ingester_sent_chunks: The total number of chunks sent by this ingester
    whilst leaving during the handoff process.
  • loki_ingester_streams_created_total: The total number of streams created per
    tenant.
  • loki_ingester_streams_removed_total: The total number of streams removed per
    tenant.

@rfratto rfratto changed the title "Loki / Chunks" dashboard uses non-existent metrics "Loki / Chunks" dashboard uses undefined metrics Sep 23, 2019
@cyriltovena cyriltovena added good first issue These are great first issues. If you are looking for a place to start, start here! hacktoberfest labels Sep 26, 2019
@CyberoxiDevops
Copy link

Hi, any updates?

@chaudum chaudum added the type/bug Somehing is not working as expected label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/loki good first issue These are great first issues. If you are looking for a place to start, start here! type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants