Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
阿信在这里
SkyWalking
提交
34fd8637
S
SkyWalking
项目概览
阿信在这里
/
SkyWalking
与 Fork 源项目一致
Fork自
山不在高_有仙则灵 / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
34fd8637
编写于
12月 06, 2019
作者:
G
Gao Hongtao
提交者:
GitHub
12月 06, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update envoy proto (#4013)
上级
0b4afc17
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
48 addition
and
30 deletion
+48
-30
oap-server/server-receiver-plugin/receiver-proto/src/main/proto/envoy/data/accesslog/v2/accesslog.proto
...to/src/main/proto/envoy/data/accesslog/v2/accesslog.proto
+48
-30
未找到文件。
oap-server/server-receiver-plugin/receiver-proto/src/main/proto/envoy/data/accesslog/v2/accesslog.proto
浏览文件 @
34fd8637
...
...
@@ -9,9 +9,11 @@ option java_package = "io.envoyproxy.envoy.data.accesslog.v2";
import
"envoy/api/v2/core/address.proto"
;
import
"envoy/api/v2/core/base.proto"
;
import
"google/protobuf/any.proto"
;
import
"google/protobuf/duration.proto"
;
import
"google/protobuf/timestamp.proto"
;
import
"google/protobuf/wrappers.proto"
;
import
"validate/validate.proto"
;
// [#protodoc-title: gRPC access logs]
...
...
@@ -34,16 +36,18 @@ message TCPAccessLogEntry {
}
message
HTTPAccessLogEntry
{
// Common properties shared by all Envoy access logs.
AccessLogCommon
common_properties
=
1
;
// HTTP version
enum
HTTPVersion
{
PROTOCOL_UNSPECIFIED
=
0
;
HTTP10
=
1
;
HTTP11
=
2
;
HTTP2
=
3
;
HTTP3
=
4
;
}
// Common properties shared by all Envoy access logs.
AccessLogCommon
common_properties
=
1
;
HTTPVersion
protocol_version
=
2
;
// Description of the incoming HTTP request.
...
...
@@ -63,11 +67,12 @@ message ConnectionProperties {
}
// Defines fields that are shared by all Envoy access logs.
// [#next-free-field: 22]
message
AccessLogCommon
{
// [#not-implemented-hide:]
// This field indicates the rate at which this log entry was sampled.
// Valid range is (0.0, 1.0].
double
sample_rate
=
1
[(
validate.rules
)
.
double
.
gt
=
0.0
,
(
validate.rules
)
.
double
.
lte
=
1.0
];
double
sample_rate
=
1
[(
validate.rules
)
.
double
=
{
lte
:
1.0
gt
:
0.0
}
];
// This field is the remote/origin address on which the request from the user was received.
// Note: This may not be the physical peer. E.g, if the remote address is inferred from for
...
...
@@ -158,10 +163,28 @@ message AccessLogCommon {
// received. Note: This is always the physical peer, even if the remote address is inferred from
// for example the x-forwarder-for header, proxy protocol, etc.
envoy.api.v2.core.Address
downstream_direct_remote_address
=
20
;
// Map of filter state in stream info that have been configured to be logged. If the filter
// state serialized to any message other than `google.protobuf.Any` it will be packed into
// `google.protobuf.Any`.
map
<
string
,
google.protobuf.Any
>
filter_state_objects
=
21
;
}
// Flags indicating occurrences during request/response processing.
// [#next-free-field: 20]
message
ResponseFlags
{
message
Unauthorized
{
// Reasons why the request was unauthorized
enum
Reason
{
REASON_UNSPECIFIED
=
0
;
// The request was denied by the external authorization service.
EXTERNAL_SERVICE
=
1
;
}
Reason
reason
=
1
;
}
// Indicates local server healthcheck failed.
bool
failed_local_healthcheck
=
1
;
...
...
@@ -198,17 +221,6 @@ message ResponseFlags {
// Indicates that the request was rate-limited locally.
bool
rate_limited
=
12
;
message
Unauthorized
{
// Reasons why the request was unauthorized
enum
Reason
{
REASON_UNSPECIFIED
=
0
;
// The request was denied by the external authorization service.
EXTERNAL_SERVICE
=
1
;
}
Reason
reason
=
1
;
}
// Indicates if the request was deemed unauthorized and the reason for it.
Unauthorized
unauthorized_details
=
13
;
...
...
@@ -227,9 +239,13 @@ message ResponseFlags {
// Indicates that the request was rejected because an envoy request header failed strict
// validation.
bool
invalid_envoy_request_headers
=
18
;
// Indicates there was an HTTP protocol error on the downstream request.
bool
downstream_protocol_error
=
19
;
}
// Properties of a negotiated TLS connection.
// [#next-free-field: 7]
message
TLSProperties
{
enum
TLSVersion
{
VERSION_UNSPECIFIED
=
0
;
...
...
@@ -238,23 +254,12 @@ message TLSProperties {
TLSv1_2
=
3
;
TLSv1_3
=
4
;
}
// Version of TLS that was negotiated.
TLSVersion
tls_version
=
1
;
// TLS cipher suite negotiated during handshake. The value is a
// four-digit hex code defined by the IANA TLS Cipher Suite Registry
// (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
//
// Here it is expressed as an integer.
google.protobuf.UInt32Value
tls_cipher_suite
=
2
;
// SNI hostname from handshake.
string
tls_sni_hostname
=
3
;
message
CertificateProperties
{
message
SubjectAltName
{
oneof
san
{
string
uri
=
1
;
// [#not-implemented-hide:]
string
dns
=
2
;
}
...
...
@@ -267,6 +272,19 @@ message TLSProperties {
string
subject
=
2
;
}
// Version of TLS that was negotiated.
TLSVersion
tls_version
=
1
;
// TLS cipher suite negotiated during handshake. The value is a
// four-digit hex code defined by the IANA TLS Cipher Suite Registry
// (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
//
// Here it is expressed as an integer.
google.protobuf.UInt32Value
tls_cipher_suite
=
2
;
// SNI hostname from handshake.
string
tls_sni_hostname
=
3
;
// Properties of the local certificate used to negotiate TLS.
CertificateProperties
local_certificate_properties
=
4
;
...
...
@@ -277,11 +295,10 @@ message TLSProperties {
string
tls_session_id
=
6
;
}
// [#next-free-field: 14]
message
HTTPRequestProperties
{
// The request method (RFC 7231/2616).
// [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once
// https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
envoy.api.v2.core.RequestMethod
request_method
=
1
;
envoy.api.v2.core.RequestMethod
request_method
=
1
[(
validate.rules
)
.
enum
=
{
defined_only
:
true
}];
// The scheme portion of the incoming request URI.
string
scheme
=
2
;
...
...
@@ -331,6 +348,7 @@ message HTTPRequestProperties {
map
<
string
,
string
>
request_headers
=
13
;
}
// [#next-free-field: 7]
message
HTTPResponseProperties
{
// The HTTP response code returned by Envoy.
google.protobuf.UInt32Value
response_code
=
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录