Skip to content

Commit ee55084

Browse files
authored
Merge branch 'main' into mongo-migration-doc
2 parents 9501fa9 + 30f730b commit ee55084

File tree

9 files changed

+407
-1
lines changed

9 files changed

+407
-1
lines changed

.github/workflows/container-build-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ jobs:
122122
path: ./cmd/csp-health-monitor
123123
- module: health-monitors/csp-health-monitor
124124
path: ./cmd/maintenance-notifier
125+
- module: event-exporter
126+
path: .
125127
steps:
126128
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
127129

.github/workflows/lint-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
matrix:
136136
component:
137137
- platform-connectors
138+
- event-exporter
138139
- store-client
139140
- commons
140141
- data-models

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,5 @@ health-monitors/kubernetes-object-monitor/kubernetes-object-monitor
450450
labeler/labeler
451451
metadata-collector/metadata-collector
452452
node-drainer/node-drainer
453-
platform-connectors/platform-connectors
453+
platform-connectors/platform-connectors
454+
event-exporter/event-exporter

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ GO_MODULES := \
4949
fault-remediation \
5050
janitor \
5151
metadata-collector \
52+
event-exporter \
5253
store-client \
5354
commons
5455

@@ -441,6 +442,11 @@ lint-test-metadata-collector:
441442
@echo "Linting and testing metadata-collector..."
442443
$(MAKE) -C metadata-collector lint-test
443444

445+
.PHONY: lint-test-event-exporter
446+
lint-test-event-exporter:
447+
@echo "Linting and testing event-exporter..."
448+
$(MAKE) -C event-exporter lint-test
449+
444450
# Python module lint-test targets (non-health-monitors)
445451
# Currently no non-health-monitor Python modules
446452

event-exporter/Makefile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# event-exporter Makefile
2+
3+
# Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
4+
5+
# =============================================================================
6+
# MODULE-SPECIFIC CONFIGURATION
7+
# =============================================================================
8+
9+
IS_GO_MODULE := 1
10+
IS_KO_MODULE := 1
11+
12+
# =============================================================================
13+
# INCLUDE SHARED DEFINITIONS
14+
# =============================================================================
15+
16+
include ../make/common.mk
17+
include ../make/go.mk
18+
include ../make/docker.mk
19+
20+
# =============================================================================
21+
# DEFAULT TARGET
22+
# =============================================================================
23+
24+
.PHONY: all
25+
all: lint-test
26+
27+
# =============================================================================
28+
# MODULE HELP
29+
# =============================================================================
30+
31+
.PHONY: help
32+
help:
33+
@echo "event-exporter Makefile - Using nvsentinel make/*.mk standards"
34+
@echo ""
35+
@echo "Main targets: all, lint-test, ci-test, build, test, lint, clean"
36+
@echo "Docker targets: docker, docker-build, docker-publish"
37+
38+

event-exporter/go.mod

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module github.com/nvidia/nvsentinel/event-exporter
2+
3+
go 1.25
4+
5+
require (
6+
github.com/BurntSushi/toml v1.5.0
7+
github.com/google/uuid v1.6.0
8+
)
9+
10+
replace (
11+
github.com/nvidia/nvsentinel/commons => ../commons
12+
github.com/nvidia/nvsentinel/data-models => ../data-models
13+
github.com/nvidia/nvsentinel/store-client => ../store-client
14+
)

event-exporter/go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
2+
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
3+
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
4+
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=

0 commit comments

Comments
 (0)