Skip to content

golang concepts practice along with dsa till advance

Notifications You must be signed in to change notification settings

Rahul-D78/comprehensive-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comprehensive Go

This repository has the source code for Comprehensive Go, an unofficial Go cource which covers all aspects of Go, from basic to advancie level concepts. It also includes DSA and Network programming.

The Prometheus server will not automatically scrape your custom metrics unless you configure it to do so. Here's what you need to do:

Install and configure prometheus for monitoring:

  1. Add prometheus helm repo
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
  1. Fetch prometheus values File
helm inspect values prometheus-community/kube-prometheus-stack > /tmp/kube-prometheus-stack.values
  1. Add Scrape Configurations in Prometheus Configuration File
## The scrape configuration example below will find master nodes, provided they have the name .*mst.*, relabel the
## port to 2379 and allow etcd scraping provided it is running on all Kubernetes master nodes
##
additionalScrapeConfigs:
  - job_name: 'demo-app'
    scrape_interval: 15s
    metrics_path: /metrics
    static_configs:
      - targets: [demo-app-metrics-service.golang-system.svc.cluster.local:8080]
  1. Deploy prometheus in the monitoring namespace
helm upgrade -i prometheus prometheus-community/kube-prometheus-stack -f kube-prometheus-stack.values --namespace monitoring --debug

About

golang concepts practice along with dsa till advance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages