Skip to content

Commit

Permalink
feat: emit regularly a 'statistics' internal event
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Dec 7, 2018
1 parent 95d5cab commit a2215e2
Show file tree
Hide file tree
Showing 11 changed files with 637 additions and 135 deletions.
26 changes: 14 additions & 12 deletions client/react-native/common/graphql/enums.gen.js
Expand Up @@ -102,6 +102,18 @@ export const ValueGoogleProtobufMethodOptionsInputIdempotencyLevel = {
2: 'IDEMPOTENT',
}

export const BertyNetworkMetricsTypeInputMetricsType = {
PEER: 0,
PROTOCOL: 1,
GLOBAL: 2,
}

export const ValueBertyNetworkMetricsTypeInputMetricsType = {
0: 'PEER',
1: 'PROTOCOL',
2: 'GLOBAL',
}

export const BertyNodeKindInputKind = {
Unknown: 0,
NodeStarted: 1,
Expand All @@ -110,6 +122,7 @@ export const BertyNodeKindInputKind = {
BackgroundError: 4,
BackgroundWarn: 5,
Debug: 6,
Statistics: 7,
}

export const ValueBertyNodeKindInputKind = {
Expand All @@ -120,6 +133,7 @@ export const ValueBertyNodeKindInputKind = {
4: 'BackgroundError',
5: 'BackgroundWarn',
6: 'Debug',
7: 'Statistics',
}

export const BertyEntityDeviceInputStatus = {
Expand Down Expand Up @@ -232,18 +246,6 @@ export const ValueBertyP2pEventInputDirection = {
99: 'Node',
}

export const BertyNetworkMetricsTypeInputMetricsType = {
PEER: 0,
PROTOCOL: 1,
GLOBAL: 2,
}

export const ValueBertyNetworkMetricsTypeInputMetricsType = {
0: 'PEER',
1: 'PROTOCOL',
2: 'GLOBAL',
}

export const BertyNetworkConnectionTypeInputConnectionType = {
NOT_CONNECTED: 0,
CONNECTED: 1,
Expand Down
39 changes: 22 additions & 17 deletions client/react-native/common/schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 14 additions & 12 deletions core/api/node/graphql/enums.gen.js
Expand Up @@ -102,6 +102,18 @@ export const ValueGoogleProtobufMethodOptionsInputIdempotencyLevel = {
2: 'IDEMPOTENT',
}

export const BertyNetworkMetricsTypeInputMetricsType = {
PEER: 0,
PROTOCOL: 1,
GLOBAL: 2,
}

export const ValueBertyNetworkMetricsTypeInputMetricsType = {
0: 'PEER',
1: 'PROTOCOL',
2: 'GLOBAL',
}

export const BertyNodeKindInputKind = {
Unknown: 0,
NodeStarted: 1,
Expand All @@ -110,6 +122,7 @@ export const BertyNodeKindInputKind = {
BackgroundError: 4,
BackgroundWarn: 5,
Debug: 6,
Statistics: 7,
}

export const ValueBertyNodeKindInputKind = {
Expand All @@ -120,6 +133,7 @@ export const ValueBertyNodeKindInputKind = {
4: 'BackgroundError',
5: 'BackgroundWarn',
6: 'Debug',
7: 'Statistics',
}

export const BertyEntityDeviceInputStatus = {
Expand Down Expand Up @@ -232,18 +246,6 @@ export const ValueBertyP2pEventInputDirection = {
99: 'Node',
}

export const BertyNetworkMetricsTypeInputMetricsType = {
PEER: 0,
PROTOCOL: 1,
GLOBAL: 2,
}

export const ValueBertyNetworkMetricsTypeInputMetricsType = {
0: 'PEER',
1: 'PROTOCOL',
2: 'GLOBAL',
}

export const BertyNetworkConnectionTypeInputConnectionType = {
NOT_CONNECTED: 0,
CONNECTED: 1,
Expand Down
77 changes: 48 additions & 29 deletions core/api/node/graphql/gqlgen.gen.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a2215e2

Please sign in to comment.