{"action":"opened","issue":{"url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/325","repository_url":"https://api.github.com/repos/prometheus/blackbox_exporter","labels_url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/325/comments","events_url":"https://api.github.com/repos/prometheus/blackbox_exporter/issues/325/events","html_url":"https://github.com/prometheus/blackbox_exporter/issues/325","id":326368933,"number":325,"title":"I can not see any target in the prometheus web ui","user":{"login":"13567436138","id":31508490,"avatar_url":"https://avatars2.githubusercontent.com/u/31508490?v=4","gravatar_id":"","url":"https://api.github.com/users/13567436138","html_url":"https://github.com/13567436138","followers_url":"https://api.github.com/users/13567436138/followers","following_url":"https://api.github.com/users/13567436138/following{/other_user}","gists_url":"https://api.github.com/users/13567436138/gists{/gist_id}","starred_url":"https://api.github.com/users/13567436138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13567436138/subscriptions","organizations_url":"https://api.github.com/users/13567436138/orgs","repos_url":"https://api.github.com/users/13567436138/repos","events_url":"https://api.github.com/users/13567436138/events{/privacy}","received_events_url":"https://api.github.com/users/13567436138/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T03:31:06Z","updated_at":"2018-05-25T03:31:06Z","closed_at":null,"author_association":"NONE","body":"  ```\r\n- job_name: kubernetes-services\r\n      kubernetes_sd_configs:\r\n      - role: service\r\n      metrics_path: /probe\r\n      params:\r\n        module:\r\n        - http_2xx\r\n      relabel_configs:\r\n      - action: keep\r\n        regex: true\r\n        source_labels:\r\n        - __meta_kubernetes_service_annotation_prometheus_io_probe\r\n      - source_labels:\r\n        - __address__\r\n        target_label: __param_target\r\n      - replacement: 10.244.4.3:9115\r\n        target_label: __address__\r\n      - source_labels:\r\n        - __param_target\r\n        target_label: instance\r\n      - action: labelmap\r\n        regex: __meta_kubernetes_service_label_(.+)\r\n      - source_labels:\r\n        - __meta_kubernetes_namespace\r\n        target_label: kubernetes_namespace\r\n      - source_labels:\r\n        - __meta_kubernetes_service_name\r\n        target_label: kubernetes_name\r\n```\r\n\r\n```\r\n[root@node1 ~]# kubectl get svc fav-web -n dev-app -o yaml\r\napiVersion: v1\r\nkind: Service\r\nmetadata:\r\n  annotations:\r\n    prometheus.io/path: /metrics\r\n    prometheus.io/port: \"7101\"\r\n    prometheus.io/scheme: http\r\n    prometheus.io/scrape: \"true\"\r\n  creationTimestamp: 2018-05-09T01:50:16Z\r\n  labels:\r\n    app: fav\r\n  name: fav-web\r\n  namespace: dev-app\r\n  resourceVersion: \"4810131\"\r\n  selfLink: /api/v1/namespaces/dev-app/services/fav-web\r\n  uid: 528e4bbe-532b-11e8-8c57-002197403677\r\nspec:\r\n  clusterIP: 10.108.216.245\r\n  ports:\r\n  - port: 8080\r\n    protocol: TCP\r\n    targetPort: 8080\r\n  selector:\r\n    app: fav\r\n  sessionAffinity: None\r\n  type: ClusterIP\r\nstatus:\r\n  loadBalancer: {}\r\n```\r\n\r\n"}}
{"actor":{"display_login":"13567436138"}}