Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enhance the demo with netstat and dns_query telemetries #142

Merged
merged 1 commit into from
Jul 1, 2024
Merged

feat: enhance the demo with netstat and dns_query telemetries #142

merged 1 commit into from
Jul 1, 2024

Conversation

Kevin222004
Copy link
Contributor

@Kevin222004 Kevin222004 commented Jun 27, 2024

@Kevin222004 Kevin222004 requested a review from a team as a code owner June 27, 2024 15:47
@glimchb
Copy link
Member

glimchb commented Jul 1, 2024

I see in log:

+ curl --fail 'http://127.0.0.1:9091/api/v1/query?query=netstat_tcp_listen'
+ grep netstat_tcp_listen
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   235  100   235    0     0   213k      0 --:--:-- --:--:-- --:--:--  229k
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"netstat_tcp_listen","host":"303715bc086a","instance":"otel-gw-collector:8889","job":"otel-collector","label1":"value1"},"value":[1719503364.674,"1"]}]}}

and

+ curl --fail 'http://127.0.0.1:9091/api/v1/query?query=dns_query_result_code'
+ grep dns_query_result_code
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   326  100   326    0     0   283k      0 --:--:-- --:--:-- --:--:--  318k
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"dns_query_result_code","domain":".","host":"303715bc086a","instance":"otel-gw-collector:8889","job":"otel-collector","label1":"value1","rcode":"NOERROR","record_type":"NS","result":"success","server":"8.8.8.8"},"value":[1719503364.682,"0"]}]}}

@glimchb glimchb merged commit eba1aba into opiproject:main Jul 1, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants