Skip to content

Commit

Permalink
sql: add created_at to index usage stat telemetry
Browse files Browse the repository at this point in the history
This commit adds a creation timestamp to the index usage
statistics telemetry.

Fixes cockroachdb#84458.

Release justification: low-risk updates to new functionality
Release note(sql change): Added a creation timestamp to index usage statistics
telemetry.
  • Loading branch information
ericharmeling committed Sep 8, 2022
1 parent 247fa3e commit 17b2076
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions docs/generated/eventlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2365,26 +2365,14 @@ An event of type `captured_index_usage_stats`
| `LastRead` | LastRead is the timestamp at which the index was last read. | no |
| `TableID` | TableID is the ID of the table on which the index was created. This is same as descpb.TableID and is unique within the cluster. | no |
| `IndexID` | IndexID is the ID of the index within the scope of the given table. | no |
<<<<<<< HEAD
| `DatabaseName` | | no |
| `TableName` | | no |
| `IndexName` | | no |
| `IndexType` | | no |
| `IsUnique` | | no |
| `IsInverted` | | no |
=======
| `DatabaseName` | DatabaseName is the name of the database in which the index was created. | no |
| `TableName` | TableName is the name of the table on which the index was created. | no |
| `IndexName` | IndexName is the name of the index within the scope of the given table. | no |
| `IndexType` | IndexType is the type of the index. Index types include "primary" and "secondary". | no |
| `IsUnique` | IsUnique indicates if the index has a UNIQUE constraint. | no |
| `IsInverted` | IsInverted indicates if the index is an inverted index. | no |
| `CreatedAt` | CreatedAt is the timestamp at which the index was created. | no |
<<<<<<< HEAD
>>>>>>> b224354ea1 (sql: add descriptions to idx usage telemetry fields)
=======
| `SchemaName` | SchemaName is the name of the schema in which the index was created. | no |
>>>>>>> d6dfdede40 (sql: add schema_name to index usage stat telemetry)


#### Common fields
Expand Down

0 comments on commit 17b2076

Please sign in to comment.