Skip to content

Commit

Permalink
Merge branch 'main' into alexb/update-getting-started-dql-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler authored Jul 18, 2024
2 parents 0ed7913 + 0deb50d commit fb9739b
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-spell-checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- name: Get changed files in the content folder
id: changed-files-specific
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v41
with:
files: ./content/
- name: Install Vale
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.'
stale-pr-message: 'This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.'
operations-per-run: 100
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ Pass custom Go-GRPC example to the runnable by passing a `customExampleGoGRPC` t
```

**Note:** Runnable doesn't support passing a multiline string as an argument to a shortcode. Therefore, you have to create the whole custom example in a single line string by replacing newlines with `\n`.

## History
add Hypermode banner by updating the hugo-docs repository with topbat template.
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aliases = ["/contribute"]
<p>
Designed from the ground up to be run in production, Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast.
</p>
<p><b>Tip</b>: New to Dgraph? Take the <a href="/tour">Dgraph Tour</a> to run live queries in your browser. Then, try Dgraph as a <a href="https://cloud.dgraph.io">cloud service</a>, or <a href='{{< relref "deploy/installation/_index.md">}}'>download</a> Dgraph to deploy it yourself.</p>
<p><b>Tip</b>: New to Dgraph? Take the <a href="https://dgraph.io/tour">Dgraph Tour</a> to run live queries in your browser. Then, try Dgraph as a <a href="https://cloud.dgraph.io">cloud service</a>, or <a href='{{< relref "deploy/installation/_index.md">}}'>download</a> Dgraph to deploy it yourself.</p>
</div>
<div class="item">
<a href="{{< relref "dgraph-overview.md">}}">
Expand Down
22 changes: 22 additions & 0 deletions content/deploy/admin/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,28 @@ not interact directly with the filesystem. Instead it relies on

Metric | Description
------- | -----------
`badger_read_num_vlog` | Total count of reads by badger in vlog,
`badger_write_num_vlog` | Total count of writes by Badger in vlog,
`badger_read_bytes_vlog` | Total bytes read by Badger,
`badger_write_bytes_vlog` | Total bytes written by Badger,
`badger_read_bytes_lsm` | Total bytes read by Badger,
`badger_write_bytes_l0` | Total bytes written by Badger,
`badger_write_bytes_compaction` | Total bytes written by Badger,
`badger_get_num_lsm` | Total count of LSM gets,
`badger_get_num_memtable` | Total count of LSM gets from memtable,
`badger_hit_num_lsm_bloom_filter` | Total count of LSM bloom hits,
`badger_get_num_user` | Total count of calls to Badger's `get`,
`badger_put_num_user` | Total count of calls to Badger's `put`,
`badger_write_bytes_user` | Total bytes written by user,
`badger_get_with_result_num_user` | Total count of calls to Badger's `get` that returned value,
`badger_iterator_num_user` | Total count of iterators made in badger,
`badger_size_bytes_lsm` | Size of the LSM in bytes,
`badger_size_bytes_vlog` | Size of the value log in bytes,
`badger_write_pending_num_memtable` | Total count of pending writes,
`badger_compaction_current_num_lsm` | Number of tables being actively compacted,

Old Metrics (Pre 23.1.0)

`badger_disk_reads_total` | Total count of disk reads in Badger.
`badger_disk_writes_total` | Total count of disk writes in Badger.
`badger_gets_total` | Total count of calls to Badger's `get`.
Expand Down
2 changes: 1 addition & 1 deletion content/enterprise-features/binary-backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ input RestoreTenantInput {
}
```

## Offline restore
## Offline restore (DEPRECATED)

The restore utility is now a standalone tool. A new flag, `--encryption key-file=value`, is now part of the restore utility, so you can use it to decrypt the backup. The file specified using this flag must contain the same key that was used for encryption during backup. Alternatively, starting with `v20.07.0`, the `vault` superflag can be used to restore a backup.

Expand Down
2 changes: 1 addition & 1 deletion content/graphql/schema/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ GraphQL interfaces allow you to define a generic pattern that multiple types fol

According to GraphQL specifications, you can have the same fields in implementing types as the interface. In such cases, the GraphQL layer will generate the correct Dgraph schema without duplicate fields.

If you repeat a field name in a type, it must be of the same type (including list or scalar types), and it must have the same nullable condition as the interface's field. Note that if the interface's field has a directory like `@search` then it will be inherited by the implementing type's field.
If you repeat a field name in a type, it must be of the same type (including list or scalar types), and it must have the same nullable condition as the interface's field. Note that if the interface's field has a directive like `@search` then it will be inherited by the implementing type's field.

For example:

Expand Down

0 comments on commit fb9739b

Please sign in to comment.