apache / apache/apisix

feat: replace mock skywalking server with real one in CI

Open
#9,746 0 comments 0 reactions 2 assignees Claimed by @Revolyssup View on GitHub
enhancement
Dominant language
Lua
Stars
17.1k
Forks
2.9k
Avg merge
3d 16h
Merged PRs (30d)
63

Description

### Description

file `t/plugin/skywalking-logger.t`

```lua
add_block_preprocessor(sub {
my ($block) = @_;

my $http_config = $block->http_config // <<_EOC_;

server {
listen 1986;
server_tokens off;

location /v3/logs {
content_by_lua_block {
local core = require("apisix.core")

core.log.warn(core.json.encode(core.request.get_body(), true))
}
}
}
_EOC_
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.