You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by Marcin Nowak <ma...@windowslive.com> on 2022/01/28 21:00:09 UTC

APISIX - problem with zipkin and kibana

Hello,
I cannot integrate apisix with zipkin:
{
  "disable": false,
  "endpoint": "http://127.0.0.1:9411/api/v2/spans",
  "sample_ratio": 1,
  "service_name": "apisix",
  "span_version": 2
}
I am just trying to go from apisix to httpbin.org/uuid (test purpose).

Another issue happens with ELK (Kibana). It run once (I saw expected logs on Kibana), but then nothing appears there.
I am using syslog plugin with connection to my local logstash instance:
{
  "disable": false,
  "host": "127.0.0.1",
  "port": 5000
}
And also with http-logger plugin:
{
  "disable": false,
  "include_req_body": true,
  "include_resp_body": true,
  "uri": "http://localhost:5000"
}
No idea what I am doing wrong.
Please have a look.

Kind regards,
Marcin

Re: APISIX - problem with zipkin and kibana

Posted by Zhiyuan Ju <ju...@apache.org>.
Hi, Marcin,

When you integrate with Zipkin, what happened when you visit Zipkin? Here
has an example, see
https://apisix.apache.org/docs/apisix/plugins/zipkin

If you could provide more information like your Route configuration, what’s
actually happened, those information are helpful to our volunteers.

Marcin Nowak <ma...@windowslive.com>于2022年1月30日 周日15:30写道:

> Hello,
> I cannot integrate apisix with zipkin:
> {
>   "disable": false,
>   "endpoint": "http://127.0.0.1:9411/api/v2/spans",
>   "sample_ratio": 1,
>   "service_name": "apisix",
>   "span_version": 2
> }
> I am just trying to go from apisix to httpbin.org/uuid (test purpose).
>
> Another issue happens with ELK (Kibana). It run once (I saw expected logs
> on Kibana), but then nothing appears there.
> I am using syslog plugin with connection to my local logstash instance:
> {
>   "disable": false,
>   "host": "127.0.0.1",
>   "port": 5000
> }
> And also with http-logger plugin:
> {
>   "disable": false,
>   "include_req_body": true,
>   "include_resp_body": true,
>   "uri": "http://localhost:5000"
> }
> No idea what I am doing wrong.
> Please have a look.
>
> Kind regards,
> Marcin
>
-- 
来自 琚致远