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

Change ignite.total_allocated_pages and ignite.total_allocated_size from monotonic_count to gauge #9939

Merged
merged 1 commit into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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