Skip to content

Commit 8d0b13c

Browse files
sarthypartybjee19
authored andcommitted
ran make generate
1 parent 1688a59 commit 8d0b13c

File tree

2 files changed

+31
-28
lines changed

2 files changed

+31
-28
lines changed

internal/mode/static/telemetry/data.avdl

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,85 +7,85 @@
77
/** The time our edge ingested the event */
88
long ingestTime;
99

10-
10+
1111
/** ImageSource tells whether the image was built by GitHub or locally (values are 'gha', 'local', or 'unknown') */
1212
string? ImageSource = null;
13-
13+
1414
/** ProjectName is the name of the project. */
1515
string? ProjectName = null;
16-
16+
1717
/** ProjectVersion is the version of the project. */
1818
string? ProjectVersion = null;
19-
19+
2020
/** ProjectArchitecture is the architecture of the project. For example, "amd64". */
2121
string? ProjectArchitecture = null;
22-
22+
2323
/** ClusterID is the unique id of the Kubernetes cluster where the project is installed.
2424
It is the UID of the `kube-system` Namespace. */
2525
string? ClusterID = null;
26-
26+
2727
/** ClusterVersion is the Kubernetes version of the cluster. */
2828
string? ClusterVersion = null;
29-
29+
3030
/** ClusterPlatform is the Kubernetes platform of the cluster. */
3131
string? ClusterPlatform = null;
32-
32+
3333
/** InstallationID is the unique id of the project installation in the cluster. */
3434
string? InstallationID = null;
35-
35+
3636
/** ClusterNodeCount is the number of nodes in the cluster. */
3737
long? ClusterNodeCount = null;
38-
38+
3939
/** FlagNames contains the command-line flag names. */
4040
union {null, array<string>} FlagNames = null;
41-
41+
4242
/** FlagValues contains the values of the command-line flags, where each value corresponds to the flag from FlagNames
4343
at the same index.
4444
Each value is either 'true' or 'false' for boolean flags and 'default' or 'user-defined' for non-boolean flags. */
4545
union {null, array<string>} FlagValues = null;
46-
46+
4747
/** GatewayCount is the number of relevant Gateways. */
4848
long? GatewayCount = null;
49-
49+
5050
/** GatewayClassCount is the number of relevant GatewayClasses. */
5151
long? GatewayClassCount = null;
52-
52+
5353
/** HTTPRouteCount is the number of relevant HTTPRoutes. */
5454
long? HTTPRouteCount = null;
55-
55+
5656
/** TLSRouteCount is the number of relevant TLSRoutes. */
57-
long? TLSRouteCount = null;
58-
57+
long? TLSRouteCount = null;
58+
5959
/** SecretCount is the number of relevant Secrets. */
6060
long? SecretCount = null;
61-
61+
6262
/** ServiceCount is the number of relevant Services. */
6363
long? ServiceCount = null;
64-
64+
6565
/** EndpointCount include the total count of Endpoints(IP:port) across all referenced services. */
6666
long? EndpointCount = null;
67-
67+
6868
/** GRPCRouteCount is the number of relevant GRPCRoutes. */
6969
long? GRPCRouteCount = null;
70-
70+
7171
/** BackendTLSPolicyCount is the number of relevant BackendTLSPolicies. */
7272
long? BackendTLSPolicyCount = null;
73-
73+
7474
/** GatewayAttachedClientSettingsPolicyCount is the number of relevant ClientSettingsPolicies
7575
attached at the Gateway level. */
7676
long? GatewayAttachedClientSettingsPolicyCount = null;
77-
77+
7878
/** RouteAttachedClientSettingsPolicyCount is the number of relevant ClientSettingsPolicies attached at the Route level. */
7979
long? RouteAttachedClientSettingsPolicyCount = null;
80-
80+
8181
/** ObservabilityPolicyCount is the number of relevant ObservabilityPolicies. */
8282
long? ObservabilityPolicyCount = null;
83-
83+
8484
/** NginxProxyCount is the number of NginxProxies. */
8585
long? NginxProxyCount = null;
86-
86+
8787
/** NGFReplicaCount is the number of replicas of the NGF Pod. */
8888
long? NGFReplicaCount = null;
89-
89+
9090
}
9191
}

internal/mode/static/telemetry/ngfresourcecounts_attributes_generated.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
package telemetry
21

2+
package telemetry
33
/*
44
This is a generated file. DO NOT EDIT.
55
*/
66

77
import (
88
"go.opentelemetry.io/otel/attribute"
99

10+
1011
ngxTelemetry "github.com/nginxinc/telemetry-exporter/pkg/telemetry"
12+
1113
)
1214

1315
func (d *NGFResourceCounts) Attributes() []attribute.KeyValue {
@@ -26,6 +28,7 @@ func (d *NGFResourceCounts) Attributes() []attribute.KeyValue {
2628
attrs = append(attrs, attribute.Int64("RouteAttachedClientSettingsPolicyCount", d.RouteAttachedClientSettingsPolicyCount))
2729
attrs = append(attrs, attribute.Int64("ObservabilityPolicyCount", d.ObservabilityPolicyCount))
2830
attrs = append(attrs, attribute.Int64("NginxProxyCount", d.NginxProxyCount))
31+
2932

3033
return attrs
3134
}

0 commit comments

Comments
 (0)