Skip to content

Commit

Permalink
Change metric type from monotonic_count to gauge (#9939)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhan289 authored Aug 20, 2021
1 parent b14b22b commit d59bec4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ignite/datadog_checks/ignite/data/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jmx_metrics:
metric_type: gauge
TotalAllocatedPages:
alias: ignite.total_allocated_pages
metric_type: monotonic_count
metric_type: gauge
EvictionRate:
alias: ignite.eviction_rate
metric_type: gauge
Expand Down Expand Up @@ -98,7 +98,7 @@ jmx_metrics:
metric_type: gauge
TotalAllocatedSize:
alias: ignite.total_allocated_size
metric_type: monotonic_count
metric_type: gauge
UsedCheckpointBufferPages:
alias: ignite.used_checkpoint_buffer_pages
metric_type: gauge
Expand Down
4 changes: 2 additions & 2 deletions ignite/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ignite.allocation_rate,gauge,10,page,second,Allocation rate (pages per second) a
ignite.initial_memory_size,gauge,10,byte,,Initial memory region size defined by its data region.,0,ignite,
ignite.max_memory_size,gauge,10,byte,,Maximum memory region size defined by its data region.,0,ignite,
ignite.offheap_size,gauge,10,byte,,Offheap size in bytes.,0,ignite,
ignite.total_allocated_pages,rate,10,page,,Total number of allocated pages.,0,ignite,
ignite.total_allocated_pages,gauge,10,page,,Total number of allocated pages.,0,ignite,
ignite.eviction_rate,gauge,10,page,second,Eviction rate (pages per second).,0,ignite,
ignite.large_entries_pages_percentage,gauge,10,percent,,Percentage of pages that are fully occupied by large entries that go beyond page size.,0,ignite,
ignite.pages_fill_factor,gauge,10,percent,,The percentage of the used space.,0,ignite,
Expand All @@ -23,7 +23,7 @@ ignite.pages_read,rate,10,page,,Number of pages read from last restart.,0,ignite
ignite.pages_written,rate,10,page,,Number of pages written from last restart.,0,ignite,
ignite.pages_replaced,rate,10,page,,Number of pages replaced from last restart.,0,ignite,
ignite.offheap_used_size,gauge,10,byte,,Total used offheap size in bytes.,0,ignite,
ignite.total_allocated_size,rate,10,byte,,Total size of memory allocated in bytes.,0,ignite,
ignite.total_allocated_size,gauge,10,byte,,Total size of memory allocated in bytes.,0,ignite,
ignite.used_checkpoint_buffer_pages,gauge,10,page,,Used checkpoint buffer size in pages.,0,ignite,
ignite.used_checkpoint_buffer_size,gauge,10,byte,,Used checkpoint buffer size in bytes.,0,ignite,
ignite.check_point_buffer_size,gauge,10,byte,,Total size in bytes for checkpoint buffer.,0,ignite,
Expand Down
4 changes: 2 additions & 2 deletions ignite/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
IS_PRE_2_9 = False if not IGNITE_VERSION else parse_version(IGNITE_VERSION) < parse_version('2.9')

GAUGES = [
'ignite.total_allocated_size',
'ignite.total_allocated_pages',
'ignite.cache.offheap_miss_percentage',
'ignite.jobs.wait_time.maximum',
'ignite.cache.size',
Expand Down Expand Up @@ -212,8 +214,6 @@
"ignite.sent_messages",
"ignite.threads.completed_tasks",
"ignite.threads.tasks",
"ignite.total_allocated_pages",
"ignite.total_allocated_size",
"ignite.total_executed_tasks",
"ignite.total_started_threads",
"ignite.transaction.committed",
Expand Down

0 comments on commit d59bec4

Please sign in to comment.