Skip to content

Commit 4cc7931

Browse files
sarthypartybjee19
authored andcommitted
ran make generate
1 parent 2d52c60 commit 4cc7931

File tree

2 files changed

+31
-28
lines changed

2 files changed

+31
-28
lines changed

internal/mode/static/telemetry/data.avdl

+27-27
Original file line numberDiff line numberDiff line change
@@ -8,85 +8,85 @@
88
/** The time our edge ingested the event */
99
long ingestTime;
1010

11-
11+
1212
/** ImageSource tells whether the image was built by GitHub or locally (values are 'gha', 'local', or 'unknown') */
1313
string? ImageSource = null;
14-
14+
1515
/** ProjectName is the name of the project. */
1616
string? ProjectName = null;
17-
17+
1818
/** ProjectVersion is the version of the project. */
1919
string? ProjectVersion = null;
20-
20+
2121
/** ProjectArchitecture is the architecture of the project. For example, "amd64". */
2222
string? ProjectArchitecture = null;
23-
23+
2424
/** ClusterID is the unique id of the Kubernetes cluster where the project is installed.
2525
It is the UID of the `kube-system` Namespace. */
2626
string? ClusterID = null;
27-
27+
2828
/** ClusterVersion is the Kubernetes version of the cluster. */
2929
string? ClusterVersion = null;
30-
30+
3131
/** ClusterPlatform is the Kubernetes platform of the cluster. */
3232
string? ClusterPlatform = null;
33-
33+
3434
/** InstallationID is the unique id of the project installation in the cluster. */
3535
string? InstallationID = null;
36-
36+
3737
/** ClusterNodeCount is the number of nodes in the cluster. */
3838
long? ClusterNodeCount = null;
39-
39+
4040
/** FlagNames contains the command-line flag names. */
4141
union {null, array<string>} FlagNames = null;
42-
42+
4343
/** FlagValues contains the values of the command-line flags, where each value corresponds to the flag from FlagNames
4444
at the same index.
4545
Each value is either 'true' or 'false' for boolean flags and 'default' or 'user-defined' for non-boolean flags. */
4646
union {null, array<string>} FlagValues = null;
47-
47+
4848
/** GatewayCount is the number of relevant Gateways. */
4949
long? GatewayCount = null;
50-
50+
5151
/** GatewayClassCount is the number of relevant GatewayClasses. */
5252
long? GatewayClassCount = null;
53-
53+
5454
/** HTTPRouteCount is the number of relevant HTTPRoutes. */
5555
long? HTTPRouteCount = null;
56-
56+
5757
/** TLSRouteCount is the number of relevant TLSRoutes. */
58-
long? TLSRouteCount = null;
59-
58+
long? TLSRouteCount = null;
59+
6060
/** SecretCount is the number of relevant Secrets. */
6161
long? SecretCount = null;
62-
62+
6363
/** ServiceCount is the number of relevant Services. */
6464
long? ServiceCount = null;
65-
65+
6666
/** EndpointCount include the total count of Endpoints(IP:port) across all referenced services. */
6767
long? EndpointCount = null;
68-
68+
6969
/** GRPCRouteCount is the number of relevant GRPCRoutes. */
7070
long? GRPCRouteCount = null;
71-
71+
7272
/** BackendTLSPolicyCount is the number of relevant BackendTLSPolicies. */
7373
long? BackendTLSPolicyCount = null;
74-
74+
7575
/** GatewayAttachedClientSettingsPolicyCount is the number of relevant ClientSettingsPolicies
7676
attached at the Gateway level. */
7777
long? GatewayAttachedClientSettingsPolicyCount = null;
78-
78+
7979
/** RouteAttachedClientSettingsPolicyCount is the number of relevant ClientSettingsPolicies attached at the Route level. */
8080
long? RouteAttachedClientSettingsPolicyCount = null;
81-
81+
8282
/** ObservabilityPolicyCount is the number of relevant ObservabilityPolicies. */
8383
long? ObservabilityPolicyCount = null;
84-
84+
8585
/** NginxProxyCount is the number of NginxProxies. */
8686
long? NginxProxyCount = null;
87-
87+
8888
/** NGFReplicaCount is the number of replicas of the NGF Pod. */
8989
long? NGFReplicaCount = null;
90-
90+
9191
}
9292
}

internal/mode/static/telemetry/ngfresourcecounts_attributes_generated.go

+4-1
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 {
@@ -25,6 +27,7 @@ func (d *NGFResourceCounts) Attributes() []attribute.KeyValue {
2527
attrs = append(attrs, attribute.Int64("RouteAttachedClientSettingsPolicyCount", d.RouteAttachedClientSettingsPolicyCount))
2628
attrs = append(attrs, attribute.Int64("ObservabilityPolicyCount", d.ObservabilityPolicyCount))
2729
attrs = append(attrs, attribute.Int64("NginxProxyCount", d.NginxProxyCount))
30+
2831

2932
return attrs
3033
}

0 commit comments

Comments
 (0)