Skip to content

enterprise: Report per-store encryption type in metrics and telemetry.#35506

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
mberhault:marc/encryption_algo_in_telemetry
Mar 8, 2019
Merged

enterprise: Report per-store encryption type in metrics and telemetry.#35506
craig[bot] merged 1 commit intocockroachdb:masterfrom
mberhault:marc/encryption_algo_in_telemetry

Conversation

@mberhault
Copy link
Copy Markdown
Contributor

@mberhault mberhault commented Mar 7, 2019

Fixes #35286

Add a per-store metric rocksdb.encryption.algorithm describing the
cipher in use for encryption-at-rest.

This is the enum representing the cipher type:

enum EncryptionType {
  // No encryption.
  Plaintext = 0;
  // AES in counter mode with various key lengths.
  AES128_CTR = 1;
  AES192_CTR = 2;
  AES256_CTR = 3;
}

Release note (enterprise change): add per-store metrics
rocksdb.encryption.algorithm, enum describing the encryption cipher in
use.

@mberhault mberhault requested review from a team, bdarnell and dt March 7, 2019 17:53
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@dt dt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Telemetry side LGTM (didn't look at cpp side)

Reviewed 2 of 8 files at r1, 5 of 5 files at r2.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @bdarnell and @dt)

Copy link
Copy Markdown
Contributor

@bdarnell bdarnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 8 of 8 files at r1, 5 of 5 files at r2.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@mberhault mberhault force-pushed the marc/encryption_algo_in_telemetry branch from be21fd1 to a109e52 Compare March 7, 2019 22:02
@mberhault mberhault mentioned this pull request Mar 7, 2019
29 tasks
@mberhault mberhault changed the title encryption: add telemetry for encryption-at-rest. enterprise: Report per-store encryption type in metrics and telemetry. Mar 7, 2019
@mberhault mberhault force-pushed the marc/encryption_algo_in_telemetry branch from a109e52 to 3af4ffe Compare March 8, 2019 12:46
Add a per-store metric `rocksdb.encryption.algorithm` describing the
cipher in use for encryption-at-rest.

This is the enum representing the cipher type:
```
// No encryption.
Plaintext = 0;
// AES in counter mode with various key lengths.
AES128_CTR = 1;
AES192_CTR = 2;
AES256_CTR = 3;
```

Release note (enterprise change): add per-store metrics
`rocksdb.encryption.algorithm`, enum describing the encryption cipher in
use.
@mberhault mberhault force-pushed the marc/encryption_algo_in_telemetry branch from 3af4ffe to 2bc10e7 Compare March 8, 2019 13:44
@mberhault
Copy link
Copy Markdown
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Mar 8, 2019
35506: enterprise: Report per-store encryption type in metrics and telemetry. r=mberhault a=mberhault

Fixes #35286

Add a per-store metric `rocksdb.encryption.algorithm` describing the
cipher in use for encryption-at-rest.

This is the enum representing the cipher type:
```
enum EncryptionType {
  // No encryption.
  Plaintext = 0;
  // AES in counter mode with various key lengths.
  AES128_CTR = 1;
  AES192_CTR = 2;
  AES256_CTR = 3;
}
```

Release note (enterprise change): add per-store metrics
`rocksdb.encryption.algorithm`, enum describing the encryption cipher in
use.

Co-authored-by: marc <marc@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 8, 2019

Build succeeded

@craig craig bot merged commit 2bc10e7 into cockroachdb:master Mar 8, 2019
@mberhault mberhault deleted the marc/encryption_algo_in_telemetry branch March 8, 2019 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants