skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

8.3.0 SelfObservability DashBoard always show zero

Open ZhouZiHe opened this issue 5 years ago • 15 comments

We used skywalking-8.3.0 . Our SelfObservability always shows zero Our applaction.yaml like this : image image Our self.yaml like this : image But our SelfObservability DashBoard always show zero image We want to know whether we configured error .

ZhouZiHe avatar Jan 19 '21 10:01 ZhouZiHe

Do you send any data to OAP? Such as trace, metrica, etc.

wu-sheng avatar Jan 19 '21 11:01 wu-sheng

Do you send any data to OAP? Such as trace, metrica, etc.

We send trace data to oap server by grpc And when we test using " curl http://172.16.86.64:1234/metrics " , it can also show data like this : image

ZhouZiHe avatar Jan 19 '21 11:01 ZhouZiHe

image @ZhouZiHe self.yaml looks like 0.0.0.0:1234, please confirm

rainbend avatar Jan 19 '21 11:01 rainbend

Yes, doc says so. Please fix. https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-telemetry.md

wu-sheng avatar Jan 19 '21 11:01 wu-sheng

image @ZhouZiHe self.yaml looks like 0.0.0.0:1234, please confirm

image @ZhouZiHe self.yaml looks like 0.0.0.0:1234, please confirm there is no problem this is our develop config when we use online config is this : image

ZhouZiHe avatar Jan 19 '21 11:01 ZhouZiHe

version: '3.8'
services:
  oap:
    image: apache/skywalking-oap-server:8.3.0-es7
    container_name: oap
    restart: always
    ports:
      - 12800:12800
    healthcheck:
      test: ["CMD-SHELL", "/skywalking/bin/swctl ch"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
    environment:
      SW_STORAGE: h2
      SW_HEALTH_CHECKER: default
      SW_TELEMETRY: prometheus
      SW_PROMETHEUS_FETCHER: default
  ui:
    image: apache/skywalking-ui:8.3.0
    container_name: ui
    depends_on:
      - oap
    links:
      - oap
    restart: always
    ports:
      - 8080:8080
    environment:
      SW_OAP_ADDRESS: oap:12800

image

@ZhouZiHe Did you set the`prometheus-fetcher? https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-telemetry.md#self-observability

rainbend avatar Jan 19 '21 11:01 rainbend

version: '3.8'
services:
  oap:
    image: apache/skywalking-oap-server:8.3.0-es7
    container_name: oap
    restart: always
    ports:
      - 12800:12800
    healthcheck:
      test: ["CMD-SHELL", "/skywalking/bin/swctl ch"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
    environment:
      SW_STORAGE: h2
      SW_HEALTH_CHECKER: default
      SW_TELEMETRY: prometheus
      SW_PROMETHEUS_FETCHER: default
  ui:
    image: apache/skywalking-ui:8.3.0
    container_name: ui
    depends_on:
      - oap
    links:
      - oap
    restart: always
    ports:
      - 8080:8080
    environment:
      SW_OAP_ADDRESS: oap:12800

image

@ZhouZiHe Did you set the`prometheus-fetcher? https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-telemetry.md#self-observability We have already change the config as doc say image This is our new config below : image image image But it didn't seem to work @arugal @wu-sheng image And we can not get any data by using metrics interface : image

ZhouZiHe avatar Jan 20 '21 02:01 ZhouZiHe

Yes, doc says so. Please fix. https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-telemetry.md ### @wu-sheng Is there anything wrong with docs about this when configure OAP backend Self Observability : image

ZhouZiHe avatar Jan 20 '21 03:01 ZhouZiHe

image

We declared if needed. What do you mean?

wu-sheng avatar Jan 20 '21 08:01 wu-sheng

image

We declared if needed. What do you mean?

This is easy to make people ambiguous . But that is not important . After we changed the config as the doc say

image image image

However it does not work ................... image image image The response result always is zero , We don't know what the problem is ?

ZhouZiHe avatar Jan 20 '21 08:01 ZhouZiHe

You are binding 127.0.0.1, but want to access through 172...*? Why do you think it works?

wu-sheng avatar Jan 20 '21 08:01 wu-sheng

You are binding 127.0.0.1, but want to access through 172...*? Why do you think it works?

Please do not think so , on the production environment , we have aleardy changed the " SW_TELEMETRY_PROMETHEUS_HOST " image

ZhouZiHe avatar Jan 20 '21 09:01 ZhouZiHe

I am not sure what do you want us to provide, this is a very easy fetching. You could open OAP debug to see what is going on. Posting screenshots with untouchable environment(even we can, we shouldn't touch), that is far from community's responsibility.

wu-sheng avatar Jan 20 '21 09:01 wu-sheng

I am not sure what do you want us to provide, this is a very easy fetching. You could open OAP debug to see what is going on. Posting screenshots with untouchable environment(even we can, we shouldn't touch), that is far from community's responsibility. First I'm very sorry for the trouble for you . Actually I have to say that I don't want you to provide anything for us . I just want to ask what are the possible reasons for this kind of problem. After all, I've already seen it in previous issue . And there is no problem for us to communicate the issue like this way in the community . Since you say so, we can not get useful suggestion . We have to check again and solve this problem by ourselves . Thanks

ZhouZiHe avatar Jan 20 '21 09:01 ZhouZiHe

It is really hard to locate this kind of issue with description. Because we can't see any exception or error.

wu-sheng avatar Jan 20 '21 09:01 wu-sheng