scrape_configs: - job_name: prometheus kubernetes_sd_configs: - role: endpoints api_server: 'https://localhost:1234' namespaces: own_namespace: true