Try Playground
Show / Hide Table of Contents

Prometheus Monitoring [Deprecated]

This page discusses the mechanisms through which you can monitor NCache clusters for the Prometheus third-party tool.

Promotheus Metrics Publishing

To start publishing metrics to the NCache Service, set the EnableMetricsPublishing tag to true. By default, the counters information is not uploaded to the NCache Service, but you can change this behavior, by setting the following tag in the Alachisoft.NCache.Service.dll.config to true:

<add key="NCacheServer.EnableMetricsPublishing" value="false"/>

Prometheus Counter Monitoring

By default, the Prometheus agent is disabled and you can't monitor your cache clusters using Prometheus because it doesn't pull any metrics from the NCache Service. To allow the Prometheus agent to access metrics information from the NCache Service and monitor your cache cluster using its counters, set the following tag as true.

<add key="NCacheServer.EnablePrometheusMonitoring" value="false"/>

Metric Server Port

NCache allows you to configure the port where you want to host the Prometheus agent to collect and view the metrics published by the NCache Service. The MetricServerPort tag can be used to configure this port. By default, the Prometheus agent is hosted on 8255.

<add key="NCacheServer.MetricServerPort" value="8255"/>

System Counter Monitoring

By default, System Counters Monitoring is disabled to reduce extra load when counter publishing is enabled. To monitor the System Counters, set the following tag as true.

<add key="NCacheServer.EnableSystemCountersMonitoring" value="false"/>

See Also

Monitor NCache using Prometheus
Logging

In This Article
  • Promotheus Metrics Publishing
  • Prometheus Counter Monitoring
  • Metric Server Port
  • System Counter Monitoring
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top