How do I make sure that Managed Prometheus scrapes custom metric that I have created in FastAPI with prometheus-client library?
@cloudquicklabs20 күн бұрын
Thank you for watching my videos. To configure AWS Managed Prometheus to scrape custom metrics, follow these steps: 1. **Instrument your application**: Expose custom metrics via an HTTP endpoint (e.g., `/metrics`) using libraries like `prometheus_client` for Python or `prom-client` for Node.js. 2. **Configure AWS Managed Prometheus (AMP)**: In the AWS Management Console, set up an AMP workspace. 3. **Set up scraping configuration**: In the AMP workspace, define scrape configurations using Prometheus' YAML configuration format. Specify the target endpoint for custom metrics (e.g., your application's `/metrics` URL). 4. **Use Amazon CloudWatch Agent**: Optionally, you can use the CloudWatch agent or Prometheus Exporter to collect and push metrics from EC2 instances or containers to AMP. 5. **Verify scraping**: Ensure that your custom metrics are being scraped by checking the AWS Managed Prometheus dashboard and querying the metrics. This allows you to collect and visualize your custom metrics in Prometheus hosted by AWS.
@yaseensayyed97220 күн бұрын
@@cloudquicklabs sorry i forgot to mention, it is Azure Managed Prometheus and Azure Managed Grafana
@cloudquicklabs20 күн бұрын
It's does not matter even if is Azure/AWS managed promotheus , it would same step that have to be followed.
@nusratjahan81552 ай бұрын
I have text data stream that comes from reddit saved on blob container can i use azure managed grafana to visualize that?
@cloudquicklabs2 ай бұрын
Thank you for watching my videos. Graphana is dependent on data Extracted by Prometheus . May be you need convert blob to sql schema and then us power BI for visualization