Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update detailed dataset monitoring #253

Merged
merged 4 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rucio-dataset-monitoring/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vet:
go vet .

build:
go clean; rm -rf pkg rucio-dataset-monitoring*; go build ${flags}
go clean; rm -rf pkg rucio-dataset-monitoring*; go build -tags netgo ${flags}

install:
go install
Expand Down
3 changes: 1 addition & 2 deletions rucio-dataset-monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
The `rucio-dataset-monitoring` package serves [Rucio](https://rucio.readthedocs.io/) aggregated data, which is stored in MongoDB,
using JQuery [datatables](https://datatables.net/).

Package development is in still progress. You may see test page from :rocket: [here](http://cmsweb-test1.cern.ch:31280/) :rocket: , beware that some
functionalities not there yet.
You may see page :rocket: [here](https://cms-dm-monitoring.cern.ch/) :rocket:.

### Introduction

Expand Down
1 change: 1 addition & 0 deletions rucio-dataset-monitoring/models/detailed_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type DetailedDataset struct {
RseKind string `bson:"RseKind" validate:"required"`
SizeBytes int64 `bson:"SizeBytes"`
LastAccess Epoch `bson:"LastAccess"` // Last access to dataset in ISO8601 format
LastCreate Epoch `bson:"LastCreate"` // Latest created at of the dataset in ISO8601 format
IsFullyReplicated bool `bson:"IsFullyReplicated"`
IsLocked string `bson:"IsLocked"`
FilePercentage float64 `bson:"FilePercentage"`
Expand Down
1 change: 1 addition & 0 deletions rucio-dataset-monitoring/spark/createindexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ db.detailed_datasets.createIndex( { "Dataset": 1 } );
db.detailed_datasets.createIndex( { "Type": 1 } );
db.detailed_datasets.createIndex( { "RSE": 1 } );
db.detailed_datasets.createIndex( { "LastAccess": 1 } );
db.detailed_datasets.createIndex( { "LastCreate": 1 } );
db.detailed_datasets.createIndex( { "ProdAccounts": 1 } );
db.detailed_datasets.createIndex( { "BlockRuleIDs": 1 } );
db.detailed_datasets.createIndex( { "Dataset": 1, "Type": 1 } );
Expand Down
Loading
Loading