updated stringclasses 4
values | metadata dict | action stringclasses 1
value | sourceName stringclasses 4
values | body stringlengths 97 1.08k | url stringclasses 20
values | format stringclasses 1
value | title stringclasses 20
values | embedding listlengths 384 384 |
|---|---|---|---|---|---|---|---|---|
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | # View Database Access History
- This feature is not available for `M0` free clusters, `M2`, and `M5` clusters. To learn more, see Atlas M0 (Free Cluster), M2, and M5 Limits.
- This feature is not supported on Serverless instances at this time. To learn more, see Serverless Instance Limitations.
## Overview
Atlas p... | https://mongodb.com/docs/atlas/access-tracking/ | md | View Database Access History | [
-0.032564081251621246,
-0.00268814479932189,
0.0028021838515996933,
-0.03253544494509697,
-0.006447532679885626,
-0.006818994879722595,
0.029676150530576706,
-0.015898190438747406,
-0.018191974610090256,
-0.030888698995113373,
0.03800628334283829,
-0.03509707376360893,
0.0031355253886431456,... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </th>
<th id="Description">
Description
</th>
</tr>
<tr>
<td headers="Field">
Timestamp
</td>
<td headers="Description">
The date and time of the authentication request.
</td>
</tr>
<tr>
<td headers="Field">
Username
</td>
<td headers="Description">
The username associated with the database user who made the authen... | https://mongodb.com/docs/atlas/access-tracking/ | md | View Database Access History | [
-0.018656743690371513,
-0.0009006370091810822,
0.014619076624512672,
-0.026238838210701942,
0.020932961255311966,
-0.01676030084490776,
0.07602566480636597,
-0.026840707287192345,
0.01966256834566593,
-0.018407056108117104,
0.050493743270635605,
-0.057673897594213486,
0.03454584628343582,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </td>
</tr>
<tr>
<td headers="Field">
Authentication Source
</td>
<td headers="Description">
The database that the authentication request was made against. `admin` is the authentication source for SCRAM-SHA users and `$external` for LDAP users.
</td>
</tr>
<tr>
<td headers="Field">
Authentication Result
</td>
<td he... | https://mongodb.com/docs/atlas/access-tracking/ | md | View Database Access History | [
-0.01790565811097622,
-0.031497661024332047,
0.008972040377557278,
-0.05472410470247269,
-0.012931926175951958,
0.010625897906720638,
0.03593241050839424,
-0.020588217303156853,
-0.013972092419862747,
-0.027430465444922447,
0.049277130514383316,
-0.027626268565654755,
0.017862791195511818,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | Log analysis rate limits apply only to the Performance Advisor UI, the Query Insights UI, the Access Tracking UI, and the Atlas Search Query Analytics UI. Downloadable log files are always complete.
If authentication requests occur during a period when logs are not collected, they will not appear in the database acces... | https://mongodb.com/docs/atlas/access-tracking/ | md | View Database Access History | [
-0.05453742668032646,
0.009268416091799736,
0.008214635774493217,
-0.013242603279650211,
-0.011468141339719296,
0.009143616072833538,
0.04474068433046341,
0.000589681148994714,
0.0020507837180048227,
-0.05102304369211197,
0.011782937683165073,
-0.007473998237401247,
0.018443867564201355,
0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - Install the Atlas CLI
- Connect to the Atlas CLI
</Tab>
<Tab name="Atlas Administration API">
To view the database access history using the API, see Access Tracking.
</Tab>
<Tab name="Atlas UI">
Use the following procedure to view your database access history using the Atlas UI:
### Navigate to the Clusters p... | https://mongodb.com/docs/atlas/access-tracking/ | md | View Database Access History | [
-0.05988016352057457,
-0.02487928420305252,
0.03255986422300339,
0.002301790053024888,
-0.009022495709359646,
0.020591892302036285,
0.055160053074359894,
-0.007292374037206173,
-0.01295147929340601,
-0.03356613218784332,
0.03215591236948967,
-0.02024257555603981,
0.03730427101254463,
-0.00... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | or
- Click the cluster name.
- Click .
- Select View Database Access History.
</Tab>
</Tabs> | https://mongodb.com/docs/atlas/access-tracking/ | md | View Database Access History | [
-0.03418887034058571,
-0.03163270652294159,
0.030962934717535973,
0.004925101064145565,
0.014182173646986485,
0.03378564119338989,
0.06347474455833435,
-0.0026269517838954926,
0.012405713088810444,
-0.021968113258481026,
0.04078063368797302,
-0.04189114645123482,
0.051668453961610794,
0.00... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | # Manage Organization Teams
You can create teams at the organization level and add teams to projects to grant project access roles to multiple users. Add any number of organization users to a team.
Grant a team roles for specific projects. All members of a team share the same project access. Organization users can be... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.03201448172330856,
-0.032407261431217194,
0.023064041510224342,
-0.04047538712620735,
-0.008872649632394314,
0.030658142641186714,
0.038016680628061295,
0.02157464437186718,
-0.015321831218898296,
-0.010621700435876846,
0.014469320885837078,
-0.046366650611162186,
0.042179640382528305,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ```sh
atlas teams create <name> [options]
```
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas teams create.
- Install the Atlas CLI
- Connect to the Atlas CLI
To add users to your team, see Add Team Members.
</Tab>
<Tab name="Atlas UI">
To create a team using th... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.05067020654678345,
-0.037357039749622345,
0.013391706161201,
-0.00530249485746026,
-0.015610892325639725,
0.026910465210676193,
0.05475949868559837,
0.012949146330356598,
-0.0011142648290842772,
-0.023832138627767563,
0.041093986481428146,
-0.04097116366028786,
0.03934875875711441,
-0.0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | The name must be unique within an organization.
### Add team members.
To add existing organization users to the team, click in the Add Members box and either start typing their Cloud Manager username or click on the name of a user that appears in the combo box.
### Click Create Team.
</Tab>
</Tabs>
## View Teams
... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.05732427164912224,
-0.0332404300570488,
0.014634010381996632,
0.004144574981182814,
0.022424761205911636,
0.011950231157243252,
0.07729678601026535,
0.016577916219830513,
0.00020761879568453878,
-0.009037482552230358,
0.0360913947224617,
-0.045885711908340454,
0.034136075526475906,
-0.0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - Install the Atlas CLI
- Connect to the Atlas CLI
</Tab>
<Tab name="Atlas UI">
To view your teams using the Atlas UI:
### Navigate to the Access Manager page for your organization.
- If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
- Click Acce... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.05273757502436638,
-0.015372673980891705,
0.018647409975528717,
-0.023852329701185226,
0.0015691198641434312,
0.028504878282546997,
0.05726072937250137,
0.03214168921113014,
0.008772717788815498,
-0.03538602218031883,
0.02413543127477169,
-0.041435811668634415,
0.0439295656979084,
-0.01... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ```sh
atlas teams users add <userId>... [options]
```
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas teams users add.
- Install the Atlas CLI
- Connect to the Atlas CLI
</Tab>
<Tab name="Atlas UI">
To add team members using the Atlas UI:
### Navigate to the Acc... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.05213142931461334,
-0.018794357776641846,
0.035479575395584106,
-0.013660956174135208,
-0.00002072209281323012,
0.02340065874159336,
0.05937546119093895,
0.03198426961898804,
0.0025168554857373238,
-0.03918474167585373,
0.029980814084410667,
-0.034836962819099426,
0.04299405217170715,
-... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ### Add members to the team.
- Click Add Members.
- Type the name or email of the user from the combo box.
You can add users that are part of the organization or users that have been sent an invitation to join the organization.
- Click Add Members.
</Tab>
</Tabs>
## Remove Team Members
<Tabs>
<Tab name="Atla... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.05219772085547447,
0.0039417194202542305,
0.04768258333206177,
-0.00376782170496881,
0.022797618061304092,
-0.006664844695478678,
0.09907285869121552,
0.02447161264717579,
0.021198995411396027,
-0.03774653375148773,
0.023125747218728065,
-0.03284686058759689,
0.04613492265343666,
-0.008... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | <Tab name="Atlas UI">
To remove team members using the Atlas UI:
### Navigate to the Access Manager page for your organization.
- If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
- Click Access Manager in the sidebar, or click Access Manager in the... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.032573625445365906,
-0.004797309171408415,
0.035357482731342316,
0.0013282508589327335,
0.035907596349716187,
-0.004367776680737734,
0.09721382707357407,
0.008312318474054337,
0.005271729081869125,
-0.014070973731577396,
0.022898253053426743,
-0.006943429354578257,
0.0272514671087265,
-... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </Tab>
</Tabs>
## Rename a Team
You can't rename a team using the Atlas CLI.
### Navigate to the Access Manager page for your organization.
- If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
- Click Access Manager in the sidebar, or click Access ... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.02965550497174263,
-0.019606580957770348,
0.030145838856697083,
-0.0021503986790776253,
0.015446205623447895,
0.005014259368181229,
0.06992539763450623,
-0.00035691415541805327,
0.004812511149793863,
-0.009127211757004261,
0.02788509614765644,
-0.025231441482901573,
0.02841947413980961,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | <Tab name="Atlas CLI">
To delete one team from your organization using the Atlas CLI, run the following command:
```sh
atlas teams delete <teamId> [options]
```
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas teams delete.
- Install the Atlas CLI
- Connect to the ... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.026926366612315178,
0.0015999206807464361,
0.05107676610350609,
-0.008812052197754383,
0.026674067601561546,
-0.003291602246463299,
0.08931681513786316,
0.01139639038592577,
0.020572559908032417,
-0.03312002867460251,
0.025957442820072174,
-0.02169967070221901,
0.04973452165722847,
-0.0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | For the team you want to delete:
- Click the ellipsis (`...`) button under the Actions column.
- Click Delete Team.
- Confirm that you wish to proceed with team deletion.
For users belonging to the team, deleting a team removes the users' project assignments granted by that team membership.
</Tab>
</Tabs>
## N... | https://mongodb.com/docs/atlas/access/manage-teams-in-orgs/ | md | Manage Organization Teams | [
-0.014427104964852333,
0.013901084661483765,
0.03246349096298218,
-0.04202388972043991,
0.03622623160481453,
-0.0016108461422845721,
0.10451603680849075,
0.03354225307703018,
0.015633968636393547,
0.00647880369797349,
0.04805554822087288,
-0.03966385871171951,
0.034570012241601944,
0.00872... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | # Manage Organizations
In the organizations and projects hierarchy, an organization can contain multiple projects (previously referred to as groups). Under this structure:
- Billing happens at the organization level while preserving visibility into usage in each project.
- You can view all projects within an organiz... | https://mongodb.com/docs/atlas/access/orgs-create-view-edit-delete/ | md | Manage Organizations | [
-0.025980627164244652,
-0.036306243389844894,
0.019396374002099037,
-0.034856487065553665,
-0.010248134844005108,
0.006869280710816383,
0.031805332750082016,
-0.009472484700381756,
-0.00158320355694741,
-0.0007773608085699379,
0.00006633874727413058,
-0.027646111324429512,
0.0432013422250747... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ### Enter the name for your organization.
Don't include sensitive information in your organization name.
### Select Atlas and click Next.
You have the option of adding a new Cloud Manager organization or a new Atlas organization. For more information on Cloud Manager see the documentation.
### Add members.
- For e... | https://mongodb.com/docs/atlas/access/orgs-create-view-edit-delete/ | md | Manage Organizations | [
-0.04019548371434212,
-0.05647915229201317,
0.02088073641061783,
0.003860635217279196,
0.02371729537844658,
0.01673923060297966,
0.047698963433504105,
0.015247965231537819,
-0.01249989029020071,
-0.01262043695896864,
0.03452443331480026,
-0.019864225760102272,
0.019180718809366226,
-0.0259... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | To disable the IP access list requirement and allow your Atlas Administration API keys to make requests from any address on the internet, toggle Require IP Access List for the Atlas Administration API to OFF.
To learn more, see Optional: Require an IP Access List for the Atlas Administration API.
### Click Create Org... | https://mongodb.com/docs/atlas/access/orgs-create-view-edit-delete/ | md | Manage Organizations | [
-0.022852826863527298,
-0.038756586611270905,
0.03386920690536499,
0.00895725004374981,
-0.0004175673529971391,
0.023502597585320473,
0.06628864258527756,
0.028306186199188232,
-0.013328645378351212,
-0.04085586965084076,
0.009456695057451725,
-0.002152422210201621,
0.04208340495824814,
0.... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - Install the Atlas CLI
- Connect to the Atlas CLI
</Tab>
<Tab name="Atlas UI">
### Expand the Organizations menu in the navigation bar.
### Click View All Organizations.
</Tab>
</Tabs>
## Leave an Organization
To leave an organization, at least another user must exist as an Owner for the organization.
### Vi... | https://mongodb.com/docs/atlas/access/orgs-create-view-edit-delete/ | md | Manage Organizations | [
-0.021291343495249748,
-0.020924629643559456,
0.04268330708146095,
-0.007079990115016699,
0.024114014580845833,
0.005269890185445547,
0.04879934340715408,
0.0017133984947577119,
0.00351437134668231,
-0.026608090847730637,
-0.006643818225711584,
-0.01647372543811798,
0.028216423466801643,
-... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
- Click the Organization Settings icon next to the Organizations menu.
### Click next to the organization name.
### Enter the new name for the organization.
### Click Save.
## Delete an Organizat... | https://mongodb.com/docs/atlas/access/orgs-create-view-edit-delete/ | md | Manage Organizations | [
-0.01109533105045557,
-0.01815970055758953,
0.041662607342004776,
0.005077642388641834,
0.049829866737127304,
-0.012837717309594154,
0.0500137060880661,
-0.0035803020000457764,
-0.0037849899381399155,
-0.021015459671616554,
0.025175509974360466,
-0.01218507718294859,
0.041261691600084305,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | <Tabs>
<Tab name="Atlas CLI">
To delete an organization using the Atlas CLI, run the following command:
```sh
atlas organizations delete <ID> [options]
```
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas organizations delete.
- Install the Atlas CLI
- Connect to ... | https://mongodb.com/docs/atlas/access/orgs-create-view-edit-delete/ | md | Manage Organizations | [
-0.014841473661363125,
-0.008628803305327892,
0.06643996387720108,
0.009682837873697281,
0.02178313583135605,
-0.007511452306061983,
0.07396969944238663,
0.007409274578094482,
0.013571357354521751,
-0.04333466291427612,
0.01342485100030899,
-0.00968643557280302,
0.04141809418797493,
0.0047... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | # Alert Basics
Atlas provides built-in tools, alerts, charts, integrations, and logs to help you monitor your clusters. Atlas provides alerts to help you monitor your clusters and improve performance in the following ways:
1. A variety of conditions can trigger an alert.
2. You can configure alerts settings based on... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.024382537230849266,
-0.04470910131931305,
0.034835752099752426,
-0.001086382195353508,
0.019573718309402466,
0.00012415983655955642,
0.05931438133120537,
0.04641955718398094,
-0.00018663944501895458,
-0.029671896249055862,
0.029825109988451004,
-0.02589859440922737,
0.011252538301050663,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ## Useful Metrics and Alert Conditions
When you configure alerts, you specify alert conditions and thresholds. Review the possible alert conditions for which you can trigger alerts related to your clusters.
`M0` free clusters and `M2/M5` shared clusters only trigger alerts related to the metrics supported by those cl... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.045487772673368454,
-0.07084811478853226,
0.026843374595046043,
0.003129945369437337,
-0.003705488983541727,
-0.0037211922463029623,
0.055231861770153046,
0.045948877930641174,
0.01244527380913496,
-0.03575814887881279,
0.02195800468325615,
-0.05769497901201248,
0.02461497113108635,
0.0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | To learn more, see the Tickets Available alert conditions.
### Queues
These alert conditions measure operations waiting on locks.
You can view these metrics on the Queues chart, accessed through cluster monitoring.
To learn more, see the Queues alert conditions.
### CPU Steal
AWS EC2 clusters that support Burstab... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.07203485816717148,
-0.06111661344766617,
0.00902786199003458,
0.012873928993940353,
0.031040078029036522,
0.02092735655605793,
0.08254387974739075,
0.010879985988140106,
0.0357801653444767,
-0.020002014935016632,
0.022972472012043,
-0.06087307259440422,
0.037359487265348434,
-0.00066781... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | You can view CPU usage on the Normalized System CPU chart, accessed through cluster monitoring.
To learn more, see the `System: CPU (Steal) % is` alert condition.
### Query Targeting
Properly configured indexes can significantly improve query performance. These alert conditions help identify inefficient queries. Too... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.061848752200603485,
-0.027211690321564674,
0.018590489402413368,
0.0193171426653862,
0.017055688425898552,
0.007940443232655525,
0.060288187116384506,
0.044685736298561096,
0.023489804938435555,
-0.030555011704564095,
0.01753447949886322,
-0.02473854087293148,
0.01968531310558319,
0.023... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | To learn more, see the Connection alert conditions.
## Configure Alerts
To set which conditions trigger alerts and how users are notified, Configure Alert Settings. You can configure alerts at the organization or project level. Atlas provides default alerts at the project level. You can clone existing alerts and conf... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.04403166472911835,
-0.03405877575278282,
0.023879412561655045,
-0.006312128156423569,
-0.0007075236644595861,
-0.007936537265777588,
0.051809970289468765,
0.03949594870209694,
0.01970195583999157,
-0.04795139655470848,
-0.0020179366692900658,
-0.007980948314070702,
0.01872279867529869,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | To configure these alert conditions, see Configure Alert Settings.
### CPU Steal
Configure the alert settings to send an alert if this metric rises above 10%.
To configure this alert condition, see Configure Alert Settings.
### Query Targeting
Configure the alert settings to send an alert if this metric rises abov... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.046109095215797424,
-0.040172088891267776,
0.02029622532427311,
0.003163291607052088,
-0.017232058569788933,
0.0057295034639537334,
0.04207387566566467,
0.04096892476081848,
0.011536931619048119,
-0.03810911998152733,
0.008019690401852131,
-0.026565350592136383,
0.022921109572052956,
0.... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ### Tickets Available
Tickets Available alerts can help you detect queries that took a little longer than expected due to load.
Increasing your instance size, or sometimes disk speed, can help these metrics.
### Queues
Queues alerts can help you detect queries that took a little longer than expected due to load.
I... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.07426630705595016,
-0.050557639449834824,
0.03280559182167053,
-0.0068366932682693005,
-0.004152935929596424,
0.010548575781285763,
0.05008145421743393,
0.032707396894693375,
0.01960466243326664,
-0.029016252607107162,
-0.0034200905356556177,
0.0024036825634539127,
0.03861911967396736,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ### Query Targeting
Query Targeting alerts often indicate inefficient queries.
To learn more, see Fix Query Issues.
### Connection Limits
Connection alerts typically occur when the maximum number of allowable connections to a MongoDB process has been exceeded. Once the limit is exceeded, no new connections can be o... | https://mongodb.com/docs/atlas/alert-basics/ | md | Alert Basics | [
-0.026903485879302025,
-0.031570013612508774,
0.008427023887634277,
-0.013440519571304321,
0.015337125398218632,
-0.04450257867574692,
0.04217299446463585,
0.047508351504802704,
0.030444758012890816,
-0.016088133677840233,
-0.01494396012276411,
-0.0067215715534985065,
0.0394415482878685,
0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | # Resolve Alerts
Atlas issues alerts for the database and server conditions configured in your alert settings. When a condition triggers an alert, Atlas displays a warning symbol on the cluster and sends alert notifications. Your alert settings determine the notification methods. Atlas continues sending notifications ... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
0.00272960402071476,
-0.0301417987793684,
0.04218294098973274,
0.010103391483426094,
0.018690625205636024,
-0.012071557343006134,
0.0557359978556633,
0.026140810921788216,
-0.003382856259122491,
-0.02861623652279377,
0.011765353381633759,
-0.023104717954993248,
0.0264201071113348,
0.034251... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </Tab>
</Tabs>
## View Alerts
<Tabs>
<Tab name="Organization Alerts">
You can view all alerts, alert settings, and deleted alerts on the Organization Alerts page. To learn more, see Alerts Workflow.
To view all open alerts:
### Navigate to the Alerts page for your organization.
- If it is not already displayed,... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.007033921778202057,
-0.015232780948281288,
0.03501717373728752,
-0.0015379027463495731,
0.029827343299984932,
0.009535078890621662,
0.05792703106999397,
0.05101906880736351,
-0.002081378595903516,
-0.02766847424209118,
-0.000023018179490463808,
-0.0018239994533360004,
0.01936172880232334,... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ```
To return the details for one alert in the project you specify using the Atlas CLI, run the following command:
```sh
atlas alerts describe <alertId> [options]
```
To learn more about the syntax and parameters for the previous commands, see the Atlas CLI documentation for atlas alerts list and atlas alerts desc... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.012042620219290257,
-0.010364389047026634,
0.03288289159536362,
0.006868892349302769,
0.006124717649072409,
0.00003439989814069122,
0.0705287903547287,
0.05230503901839256,
-0.005688841920346022,
-0.03343860059976578,
-0.01527692936360836,
-0.00657909968867898,
0.003990634344518185,
0.0... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
- If it is not already displayed, select your desired project from the Projects menu in the navigation bar.
- Click the Project Alerts icon in the navigation bar, or click ... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.008418072946369648,
-0.013906951993703842,
0.010744730941951275,
-0.0393085703253746,
0.028489774093031883,
-0.00373929925262928,
0.026041164994239807,
0.03634599596261978,
-0.007240546401590109,
-0.020116642117500305,
0.008529756218194962,
-0.013668511062860489,
0.0037796141114085913,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - Click Alerts in the sidebar.
### Select the alert you want to acknowledge, then click Mark Acknowledge.
If an alert uses PagerDuty for alert notifications, you can acknowledge the alert only on your PagerDuty dashboard.
</Tab>
<Tab name="Project Alerts">
<Tabs>
<Tab name="Atlas CLI">
To acknowledge one alert f... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.03475463390350342,
-0.010309960693120956,
0.029866326600313187,
-0.012537740170955658,
-0.01793971098959446,
0.0001547050487715751,
0.0599566213786602,
0.04915696755051613,
-0.0009359272662550211,
-0.0521630197763443,
-0.013967776671051979,
-0.017743047326803207,
-0.014464424923062325,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | <Tab name="Atlas UI">
To acknowledge alerts using the Atlas UI:
### Navigate to the Alerts page for your project.
- If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
- If it is not already displayed, select your desired pro... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.027250120416283607,
-0.01431741937994957,
0.022155696526169777,
-0.012356876395642757,
-0.0030375502537935972,
0.004296973813325167,
0.06087620556354523,
0.04267267882823944,
-0.016741270199418068,
-0.04289936646819115,
-0.012120537459850311,
-0.01623539626598358,
-0.010207618586719036,
... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </Tab>
</Tabs>
</Tab>
</Tabs>
When you acknowledge an alert, Atlas sends no further notifications until either the acknowledgement period ends, you resolve the alert condition, or you unacknowledge the alert. If an alert condition ends during an acknowledgment period, Atlas sends a notification.
## Unacknowledge A... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.01723158173263073,
-0.011856147088110447,
0.011921643279492855,
0.005015680566430092,
0.02138448879122734,
-0.012160536833107471,
0.09392804652452469,
0.02475389651954174,
0.024841245263814926,
-0.04132547602057457,
0.016080325469374657,
-0.0055486117489635944,
-0.024084651842713356,
0.... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | - Click Alerts in the sidebar.
### Select the alert you want to acknowledge, then click Unacknowledge on the right side of the alert.
If an alert uses PagerDuty for alert notifications, you can acknowledge the alert only on your PagerDuty dashboard.
</Tab>
<Tab name="Project Alerts">
<Tabs>
<Tab name="Atlas CLI">... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.026306699961423874,
-0.019386783242225647,
0.013111764565110207,
0.009635320864617825,
0.002813652390614152,
-0.0039107478223741055,
0.06944449990987778,
0.039729196578264236,
-0.005802227649837732,
-0.029646992683410645,
0.014648840762674809,
-0.018229138106107712,
-0.012857729569077492,... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | <Tab name="Atlas UI">
To unacknowledge alerts using the Atlas UI:
### Navigate to the Alerts page for your project.
- If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
- If it is not already displayed, select your desired p... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.015455271117389202,
-0.03153291717171669,
0.007966556586325169,
0.021925199776887894,
0.019457021728157997,
0.009236029349267483,
0.07075580954551697,
0.02891773171722889,
-0.019301924854516983,
-0.01351314876228571,
0.032360076904296875,
-0.02359781600534916,
0.001862610224634409,
0.02... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | ## Increase Cluster Capacity
To resolve an alert by increasing your cluster's capacity, see Modify a Cluster.
## View All Activity
To view and filter the activity feed for an organization or project, see View the Activity Feed.
## Retrieve the Activity Feed
<Tabs>
<Tab name="Organization Alerts">
You can retriev... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.007106224074959755,
-0.018477605655789375,
0.03519297391176224,
-0.01291817519813776,
0.02073698863387108,
0.0346832349896431,
0.03524521365761757,
0.045862797647714615,
-0.010953529737889767,
-0.017026087269186974,
0.007487407419830561,
-0.038501542061567307,
0.041948895901441574,
0.00... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </th>
<th id="Description">
Description
</th>
</tr>
<tr>
<td headers="Alert%20Type">
Atlas Search Alerts
</td>
<td headers="Description">
Amount of CPU and memory used by Atlas Search processes reach a specified threshold.
</td>
</tr>
<tr>
<td headers="Alert%20Type">
Connection Alerts
</td>
<td headers="Description... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
-0.037550702691078186,
-0.02286623790860176,
0.030205784365534782,
0.00494393240660429,
0.014268188737332821,
-0.006075651850551367,
0.0318790078163147,
0.03926162049174309,
0.04186927527189255,
-0.02656249701976776,
0.013696173205971718,
-0.030014777556061745,
0.025641223415732384,
0.0235... |
2024-05-20T17:30:49.148Z | {
"contentType": null,
"productName": "MongoDB Atlas",
"tags": [
"atlas",
"docs"
],
"version": null
} | created | snooty-cloud-docs | </td>
<td headers="Description">
Indicates inefficient queries.
The change streams cursors that the Atlas Search process (`mongot`) uses to keep Atlas Search indexes updated can contribute to the query targeting ratio and trigger query targeting alerts if the ratio is high.
</td>
</tr>
<tr>
<td headers="Alert%20Type"... | https://mongodb.com/docs/atlas/alert-resolutions/ | md | Resolve Alerts | [
0.0016599486116319895,
-0.006726010702550411,
0.02175232768058777,
-0.002970176748931408,
0.016269482672214508,
0.0024502745363861322,
0.023825753480196,
0.03000636398792267,
0.025191830471158028,
-0.03722812980413437,
0.03934107720851898,
-0.04424552991986275,
-0.013063285499811172,
0.021... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | # Aggregation Tutorials
## Overview
Aggregation tutorials provide detailed explanations of common aggregation tasks in a step-by-step format. The tutorials are adapted from examples in the Practical MongoDB Aggregations book by Paul Done.
Each tutorial includes the following sections:
- **Introduction**, which desc... | https://mongodb.com/docs/languages/python/pymongo-driver/current/aggregation/aggregation-tutorials/ | md | Aggregation Tutorials | [
-0.05511222779750824,
-0.030113503336906433,
-0.00017347281391266733,
-0.035352956503629684,
0.02512090653181076,
-0.010907570831477642,
0.015522139146924019,
-0.0034033406991511583,
-0.00766574265435338,
-0.014707406982779503,
0.026577934622764587,
-0.08195171505212784,
0.041135817766189575... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | ## Aggregation Template App
Before you begin following an aggregation tutorial, you must set up a new Python app. You can use this app to connect to a MongoDB deployment, insert sample data into MongoDB, and run the aggregation pipeline in each tutorial.
To learn how to install the driver and connect to MongoDB, see ... | https://mongodb.com/docs/languages/python/pymongo-driver/current/aggregation/aggregation-tutorials/ | md | Aggregation Tutorials | [
-0.02461382932960987,
-0.015829218551516533,
-0.007157602347433567,
-0.05993117019534111,
0.013751021586358547,
-0.02408406138420105,
-0.003897390328347683,
-0.0012759380042552948,
0.0009994718711823225,
-0.01870151422917843,
0.015337505377829075,
-0.10494238883256912,
0.04821065813302994,
... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | # Delete any existing documents in collections.
# ... some_coll.delete_many({})
# Insert sample data into the collection or collections.
# ... some_data = [...]
# ... some_coll.insert_many(some_data)
# Create an empty pipeline array.
pipeline = []
# Add code to create pipeline stages.
... | https://mongodb.com/docs/languages/python/pymongo-driver/current/aggregation/aggregation-tutorials/ | md | Aggregation Tutorials | [
-0.03001234121620655,
-0.04174846410751343,
0.03502087667584419,
-0.03125324845314026,
-0.0041822753846645355,
-0.04075495898723602,
-0.011964501813054085,
0.029299406334757805,
0.0335322767496109,
-0.022654738277196884,
0.018547246232628822,
-0.10424983501434326,
0.03936911001801491,
0.02... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | If you attempt to run the code without making any changes, you will encounter a connection error.
For every tutorial, you must replace the connection string placeholder with your deployment's connection string. To learn how to locate your deployment's connection string, see Create a Connection String.
For example, if... | https://mongodb.com/docs/languages/python/pymongo-driver/current/aggregation/aggregation-tutorials/ | md | Aggregation Tutorials | [
-0.018399592489004135,
-0.024484122171998024,
0.02411503903567791,
-0.04486463963985443,
0.05418748781085014,
-0.07063627988100052,
-0.026610396802425385,
-0.004598467145115137,
0.006495070643723011,
-0.03337157890200615,
0.02757880464196205,
-0.09052636474370956,
0.07130751013755798,
0.03... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | # Specialized Data Formats
## Overview
You can use several types of specialized data formats in your PyMongo application. To learn how to work with these data formats, see the following sections:
- Learn how to encode and decode custom types in the Custom Types guide.
- Learn how to work with Python `datetime` obje... | https://mongodb.com/docs/languages/python/pymongo-driver/current/data-formats/ | md | Specialized Data Formats | [
-0.04205115884542465,
0.011391581036150455,
0.023627961054444313,
-0.057836879044771194,
0.022584114223718643,
0.018177716061472893,
-0.015998197719454765,
0.0015413891524076462,
-0.060936663299798965,
-0.010450697503983974,
0.008666086941957474,
-0.08277753740549088,
0.02554880827665329,
... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | # Create a MongoDB Deployment
You can create a free tier MongoDB deployment on MongoDB Atlas to store and manage your data. MongoDB Atlas hosts and manages your MongoDB database in the cloud.
## Create a Free MongoDB deployment on Atlas
Complete the Get Started with Atlas guide to set up a new Atlas account and load... | https://mongodb.com/docs/languages/python/pymongo-driver/current/get-started/create-a-deployment/ | md | Create a MongoDB Deployment | [
-0.036891426891088486,
-0.03129657357931137,
0.026834363117814064,
-0.020180316641926765,
0.016619516536593437,
-0.002142098033800721,
0.0060707759112119675,
0.013613193295896053,
-0.01839112490415573,
0.001028053229674697,
0.04254568740725517,
-0.028285255655646324,
0.021907532587647438,
... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | # Compound Indexes
## Overview
Compound indexes hold references to multiple fields within a collection's documents, improving query and sort performance.
### Sample Data
The examples in this guide use the `sample_mflix.movies` collection from the Atlas sample datasets. To learn how to create a free MongoDB Atlas cl... | https://mongodb.com/docs/languages/python/pymongo-driver/current/indexes/compound-index/ | md | Compound Indexes | [
-0.07075940817594528,
-0.0138783510774374,
0.0035128348972648382,
-0.007586321793496609,
0.02556919865310192,
-0.021817149594426155,
0.00214945781044662,
0.0040947915986180305,
-0.021654529497027397,
-0.02905750833451748,
0.02317233197391033,
-0.059995319694280624,
0.04892752692103386,
0.0... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | cursor = movies.find(query).sort(sort)
```
For more information, see Compound Indexes in the MongoDB Server manual. | https://mongodb.com/docs/languages/python/pymongo-driver/current/indexes/compound-index/ | md | Compound Indexes | [
-0.07184720039367676,
-0.04410499334335327,
-0.015272043645381927,
-0.02281039208173752,
0.026588458567857742,
0.0014315304579213262,
0.03541269525885582,
-0.02056824043393135,
0.01798679307103157,
-0.018479488790035248,
0.010345807299017906,
-0.05736342445015907,
0.03886738792061806,
0.06... |
2024-05-20T17:32:10.812Z | {
"contentType": null,
"productName": "PyMongo",
"tags": [
"docs",
"driver",
"python",
"pymongo"
],
"version": "v4.7 (current)"
} | created | snooty-pymongo | # Previous Versions
The following links direct you to documentation for previous versions of PyMongo.
- Version 4.6
- Version 4.5
- Version 4.4
- Version 4.3
- Version 4.2
- Version 4.1
- Version 4.0 | https://mongodb.com/docs/languages/python/pymongo-driver/current/previous-versions/ | md | Previous Versions | [
-0.06565960496664047,
0.000781437149271369,
0.06103223189711571,
-0.0492493212223053,
0.033513881266117096,
0.022933058440685272,
-0.0505988784134388,
0.0010225663427263498,
-0.00419448921456933,
-0.04533422738313675,
0.02128269337117672,
-0.07485029101371765,
0.012487323954701424,
0.00711... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | # About MongoDB Documentation
The MongoDB Manual contains comprehensive documentation on MongoDB. This page describes the manual's licensing, editions, and versions, and describes how to make a change request and how to contribute to the manual.
## License
This work is licensed under a Creative Commons Attribution-N... | https://mongodb.com/docs/manual/about/ | md | About MongoDB Documentation | [
-0.04740403592586517,
-0.0030745002441108227,
0.024368125945329666,
-0.018181459978222847,
0.07254272699356079,
-0.0027665826492011547,
-0.010104912333190441,
0.014428233727812767,
-0.042721785604953766,
-0.016784103587269783,
-0.014618917368352413,
-0.05714321881532669,
0.02275095507502556,... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | The most up-to-date, current, and stable version of the manual is always available at "https://www.mongodb.com/docs/manual/".
## Report an Issue or Make a Change Request
To report an issue with this manual or to make a change request, file a ticket at the MongoDB DOCS Project on Jira.
## Contribute to the Documentat... | https://mongodb.com/docs/manual/about/ | md | About MongoDB Documentation | [
-0.0567798912525177,
-0.02199331298470497,
0.04473988711833954,
-0.013024725951254368,
0.042770709842443466,
-0.023692721500992775,
-0.012037691660225391,
0.009625067003071308,
-0.029411468654870987,
-0.010625045746564865,
0.007009994238615036,
-0.043994419276714325,
0.0010121280793100595,
... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | ```bash
git clone git://github.com/mongodb/docs.git
```
### About the Documentation Process
The MongoDB Manual uses Sphinx, a sophisticated documentation engine built upon Python Docutils. The original reStructured Text files, as well as all necessary Sphinx extensions and build tools, are available in the same repos... | https://mongodb.com/docs/manual/about/ | md | About MongoDB Documentation | [
-0.04613936319947243,
-0.01678789220750332,
0.03712095692753792,
0.013779697008430958,
0.038136955350637436,
-0.06009439006447792,
-0.014007254503667355,
0.011727952398359776,
-0.009062495082616806,
-0.022738264873623848,
-0.0168251134455204,
-0.05965558439493179,
0.0011676909634843469,
-0... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | # Administration
The administration documentation addresses the ongoing operation and maintenance of MongoDB instances and deployments. This documentation includes both high level overviews of these concerns as well as tutorials that cover specific procedures and processes for operating MongoDB. | https://mongodb.com/docs/manual/administration/ | md | Administration | [
-0.026723846793174744,
-0.0051339478231966496,
0.048708852380514145,
-0.02413257583975792,
0.04648369923233986,
-0.02397257462143898,
0.025213118642568588,
-0.013157015666365623,
-0.04218875616788864,
-0.003636009991168976,
-0.018756980076432228,
-0.04878418892621994,
0.029474450275301933,
... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | # MongoDB Performance
As you develop and operate applications with MongoDB, you may need to analyze the performance of the application and its database. When you encounter degraded performance, it is often a function of database access strategies, hardware availability, and the number of open database connections.
So... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.027528513222932816,
-0.008427686057984829,
0.020809536799788475,
-0.03360206261277199,
0.017342964187264442,
0.01955779269337654,
0.03254585340619087,
0.02718142792582512,
0.01102270744740963,
-0.014477475546300411,
0.0019469375256448984,
0.005339263938367367,
0.06298501044511795,
0.023... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | Database profiling can help you to understand what operations are causing degradation.
## Locking Performance
MongoDB uses a locking system to ensure data set consistency. If certain operations are long-running or a queue forms, performance will degrade as requests and operations wait for the lock.
Lock-related slow... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.047887180000543594,
0.0033924076706171036,
0.031288545578718185,
-0.021129336208105087,
0.029110172763466835,
0.0018855471862480044,
0.06347142159938812,
0.004914428107440472,
0.024425536394119263,
-0.0231352299451828,
0.017566759139299393,
-0.0034050375688821077,
0.057705897837877274,
... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | If `globalLock.totalTime` is high relative to `uptime`, the database has existed in a lock state for a significant amount of time.
Long queries can result from ineffective use of indexes; non-optimal schema design; poor query structure; system architecture issues; or insufficient RAM resulting in disk reads.
## Numbe... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.05177667737007141,
-0.04835555702447891,
0.048320140689611435,
-0.03911050781607628,
0.04872259125113487,
-0.010740131139755249,
0.02974943444132805,
-0.001975471153855324,
0.039508648216724396,
-0.011775815859436989,
-0.006730382330715656,
0.01807420141994953,
0.057477325201034546,
0.0... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | For write-heavy applications, deploy sharding and add one or more shards to a sharded cluster to distribute load among `mongod` instances.
Spikes in the number of connections can also be the result of application or driver errors. All of the officially supported MongoDB drivers implement connection pooling, which allo... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.032249219715595245,
-0.025520507246255875,
0.030907558277249336,
-0.056051336228847504,
0.015332946553826332,
-0.024916792288422585,
0.012755639851093292,
0.03743186220526695,
0.01826239936053753,
-0.02806759625673294,
0.012130915187299252,
-0.05075882375240326,
0.03648542985320091,
0.0... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | ## Full Time Diagnostic Data Capture
To help MongoDB engineers analyze server behavior, `mongod` and `mongos` processes include a Full Time Diagnostic Data Capture (FTDC) mechanism. FTDC is enabled by default. Due to its importance in debugging deployments, FTDC thread failures are fatal and stop the parent `mongod` o... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.0345330685377121,
0.00771893747150898,
0.04717682674527168,
-0.05576060339808464,
0.07712138444185257,
-0.04355396702885628,
0.03159894049167633,
0.03142714872956276,
-0.01855539344251156,
-0.015047051012516022,
-0.0007839560275897384,
-0.040372032672166824,
0.035994574427604675,
0.0389... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | - Data sampled from any end-user collection or index
- System or MongoDB user credentials or security certificates
FTDC data contains certain host machine information such as hostnames, operating system information, and the options or settings used to start the `mongod` or `mongos`. This information may be considered... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
0.027957631275057793,
-0.011257361620664597,
0.050563402473926544,
-0.052856337279081345,
0.059241004288196564,
-0.02137165330350399,
0.0508553721010685,
0.028550390154123306,
-0.013631846755743027,
-0.0023452306631952524,
-0.001213821698911488,
-0.030017638579010963,
0.030101878568530083,
... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | FTDC periodically collects statistics produced by the following commands:
- `serverStatus`
- `replSetGetStatus` (`mongod` only)
- `collStats` for the `local.oplog.rs` collection (`mongod` only)
- `connPoolStats` (`mongos` only)
Depending on the host operating system, the diagnostic data may include one or more of ... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
0.000643343199044466,
-0.021680880337953568,
0.0615292564034462,
-0.028277698904275894,
0.06501972675323486,
-0.013893529772758484,
0.05499362200498581,
0.04573677480220795,
0.012788096442818642,
-0.01624910905957222,
0.027943342924118042,
-0.03263160586357117,
0.026589410379529,
0.0388881... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | - Network performance statistics. FTDC only captures metadata and does not capture or inspect any network packets.
If the `mongod` process runs in a container, FTDC reports utilization statistics from the perspective of the container instead of the host operating system. For example, if a the `mongod` runs in a contai... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.005651765037328005,
-0.007472180761396885,
0.06541942805051804,
-0.019716089591383934,
0.07908286154270172,
-0.010295020416378975,
0.05520733818411827,
0.0370929092168808,
0.0007977484492585063,
-0.011310414411127567,
0.03583189472556114,
-0.02365019917488098,
0.0445392020046711,
0.0269... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | `mongos` processes store FTDC data files in a diagnostic directory relative to the `systemLog.path` log path setting. MongoDB truncates the logpath's file extension and concatenates `diagnostic.data` to the remaining name. For example, given a `path` setting of `/var/log/mongodb/mongos.log`, the diagnostic data directo... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.005896565970033407,
-0.011513971723616123,
0.06979294121265411,
-0.041616469621658325,
0.07013249397277832,
-0.03553922101855278,
0.016822706907987595,
0.02208438329398632,
0.001520895166322589,
-0.010586043819785118,
0.0201125331223011,
-0.028961166739463806,
0.0022410082165151834,
0.0... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | To disable FTDC, start up the `mongod` or `mongos` with the `diagnosticDataCollectionEnabled: false` option in the `setParameter` settings of your configuration file:
```yaml
setParameter:
diagnosticDataCollectionEnabled: false
```
Disabling FTDC may increase the time or resources required when analyzing or debuggi... | https://mongodb.com/docs/manual/administration/analyzing-mongodb-performance/ | md | MongoDB Performance | [
-0.02514178492128849,
-0.007291616406291723,
0.08611856400966644,
-0.007661618757992983,
0.06308761984109879,
-0.030492890626192093,
0.027921928092837334,
0.03836410492658615,
-0.025354450568556786,
-0.006589005701243877,
0.010706567205488682,
-0.007354221772402525,
0.004863832611590624,
0... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | # Backup and Restore Sharded Clusters
The following tutorials describe backup and restoration for sharded clusters:
To use `mongodump` and `mongorestore` as a backup strategy for sharded clusters, you must stop the sharded cluster balancer and use the `fsync` command or the `db.fsyncLock()` method on `mongos` to bloc... | https://mongodb.com/docs/manual/administration/backup-sharded-clusters/ | md | Backup and Restore Sharded Clusters | [
-0.04282891005277634,
-0.028709784150123596,
-0.01573440618813038,
-0.033568959683179855,
0.043808676302433014,
-0.03384002298116684,
0.017053671181201935,
0.019061625003814697,
-0.04595973715186119,
-0.0250259879976511,
0.006340136285871267,
-0.06647954881191254,
0.036211464554071426,
-0.... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | Create backups using `mongodump` to back up each component in the cluster individually.
Limit the operation of the cluster balancer to provide a window for regular backup operations.
An outline of the procedure and consideration for restoring an *entire* sharded cluster from backup. | https://mongodb.com/docs/manual/administration/backup-sharded-clusters/ | md | Backup and Restore Sharded Clusters | [
-0.050883907824754715,
-0.02473902516067028,
-0.015863405540585518,
-0.02281334437429905,
0.002955537522211671,
-0.024701403453946114,
-0.004858179949223995,
-0.0050615048967301846,
-0.03147154673933983,
-0.03179067373275757,
-0.002180960262194276,
-0.0871487706899643,
0.028969885781407356,
... |
2024-05-20T17:31:07.735Z | {
"contentType": null,
"productName": "MongoDB Server",
"tags": [
"docs",
"manual"
],
"version": "v7.0 (current)"
} | created | snooty-docs | # Configuration and Maintenance
This section describes routine management operations, including updating your MongoDB deployment's configuration.
Outlines common MongoDB configurations and examples of best-practice configurations for common use cases.
Upgrade a MongoDB deployment to a different patch release within ... | https://mongodb.com/docs/manual/administration/configuration-and-maintenance/ | md | Configuration and Maintenance | [
-0.0313565731048584,
0.0013565298868343234,
0.06224384158849716,
-0.042741671204566956,
0.04305531457066536,
-0.02844124659895897,
0.016597464680671692,
0.01099090650677681,
-0.02326359786093235,
0.0007200052496045828,
0.018332496285438538,
-0.03519214689731598,
0.034737419337034225,
0.020... |
2024-05-20T17:32:23.500Z | {
"contentType": "Video",
"productName": null,
"tags": [
"Atlas"
],
"version": null
} | created | devcenter | # The Atlas Search 'cene: Season 1
# The Atlas Search 'cene: Season 1
Welcome to the first season of a video series dedicated to Atlas Search! This series of videos is designed to guide you through the journey from getting started and understanding the concepts, to advanced techniques.
## What is Atlas Search?
[At... | https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1 | md | The Atlas Search 'cene: Season 1 | [
-0.04333272948861122,
0.008474143221974373,
0.02093709260225296,
-0.013369143009185791,
0.021301070228219032,
0.00247253873385489,
0.021123070269823074,
0.01927790604531765,
0.024801388382911682,
-0.014641942456364632,
0.008706260472536087,
-0.01648327149450779,
0.04427856579422951,
0.0068... |
2024-05-20T17:32:23.500Z | {
"contentType": "Video",
"productName": null,
"tags": [
"Atlas"
],
"version": null
} | created | devcenter | > Hip to the *'cene*
>
> The name of this video series comes from a contraction of "Lucene",
> the search engine library leveraged by Atlas. Or it's a short form of "scene".
## Episode Guide
### **[Episode 1: What is Atlas Search & Quick Start][2]**
In this first episode of the Atlas Search 'cene, learn what Atlas... | https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1 | md | The Atlas Search 'cene: Season 1 | [
-0.05399884656071663,
-0.0029614008963108063,
0.018389998003840446,
-0.02181326411664486,
0.02867722511291504,
0.01909821666777134,
0.014562747441232204,
0.025323189795017242,
0.004523050971329212,
-0.0012164791114628315,
0.0032280415762215853,
-0.015654992312192917,
0.02656267024576664,
0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Video",
"productName": null,
"tags": [
"Atlas"
],
"version": null
} | created | devcenter | ### **[Episode 3: Indexing][4]**
While Atlas Search automatically indexes your collections content, it does demand attention to the indexing configuration details in order to match users queries appropriately. This episode covers how Atlas Search builds an inverted index, and the options one must consider.
### **[Epi... | https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1 | md | The Atlas Search 'cene: Season 1 | [
-0.051897041499614716,
-0.005160131957381964,
0.02444884181022644,
0.020137501880526543,
0.04741182178258896,
0.007022537756711245,
0.025010867044329643,
0.010959460400044918,
-0.02913862094283104,
-0.0008940236293710768,
0.025229420512914658,
-0.026444939896464348,
-0.004209971986711025,
... |
2024-05-20T17:32:23.500Z | {
"contentType": "Video",
"productName": null,
"tags": [
"Atlas"
],
"version": null
} | created | devcenter | In this episode, we go through some more advanced search topics including embedded documents, fuzzy search, autocomplete, highlighting, and geospatial.
### **[Episode 7: Query Analytics][8]**
Are your users finding what they are looking for? Are your top queries returning the best results? This episode covers the im... | https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1 | md | The Atlas Search 'cene: Season 1 | [
-0.06676021963357925,
-0.004111364483833313,
0.004736207891255617,
-0.013263901695609093,
0.030556093901395798,
0.01958758383989334,
0.03644321858882904,
0.0224448349326849,
0.006258488167077303,
-0.0028273065108805895,
-0.005389469675719738,
-0.024699581786990166,
0.014987430535256863,
0.... |
2024-05-20T17:32:23.500Z | {
"contentType": "Video",
"productName": null,
"tags": [
"Atlas"
],
"version": null
} | created | devcenter | [1]: https://www.mongodb.com/atlas/search
[2]: https://www.mongodb.com/developer/videos/what-is-atlas-search-quick-start/
[3]: https://www.mongodb.com/developer/videos/atlas-search-configuration-development-environment/
[4]: https://www.mongodb.com/developer/videos/mastering-indexing-for-perfect-query-matches/
... | https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1 | md | The Atlas Search 'cene: Season 1 | [
-0.0772363692522049,
-0.016209488734602928,
0.023629581555724144,
0.005377569235861301,
0.05635572597384453,
-0.006048074923455715,
0.0033894714433699846,
-0.0009399149566888809,
-0.010975291021168232,
-0.015849722549319267,
0.010561182163655758,
-0.057873550802469254,
-0.006855860818177462,... |
2024-05-20T17:32:23.500Z | {
"contentType": "Video",
"productName": null,
"tags": [
"Atlas"
],
"version": null
} | created | devcenter | [8]: https://www.mongodb.com/developer/videos/atlas-search-query-analytics/
[9]: https://www.mongodb.com/developer/videos/tips-and-tricks-the-atlas-search-cene-season-1-episode-8/ | https://www.mongodb.com/developer/products/atlas/atlas-search-cene-1 | md | The Atlas Search 'cene: Season 1 | [
-0.06959200650453568,
-0.017777325585484505,
0.003730013268068433,
-0.018731290474534035,
0.05623701959848404,
0.010634814389050007,
0.007514973636716604,
0.02913835644721985,
0.00411106925457716,
-0.008122571744024754,
0.008557385765016079,
-0.049779560416936874,
0.01478045154362917,
0.02... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | # Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI
In the realm of property rentals, reviews play a pivotal role. MongoDB Atlas triggers, combined with the power of OpenAI's models, can help summarize and analyze these reviews in real-time. In this article, we'll explore how to utilize MongoDB Atla... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.02477567084133625,
-0.004139764234423637,
0.0033128077629953623,
0.009702196344733238,
0.046617407351732254,
0.02175799570977688,
0.023161737248301506,
0.03339182958006859,
0.003896396839991212,
-0.019296376034617424,
-0.010015616193413734,
-0.00755298463627696,
0.02327808551490307,
0.0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | ```javascript
"reviews": { "_id": "2663437",
"date": { "$date": "2012-10-20T04:00:00.000Z" }, \
"listing_id": "664017",
"reviewer_id": "633940",
"reviewer_name": "Patricia",
"comments": "I booked the room at Marinete's apartment for my husband. He was staying in Rio for a week because he was studying Portuguese. H... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.047046247869729996,
0.013360108248889446,
0.03314833715558052,
-0.026793386787176132,
0.01846095733344555,
-0.014731922186911106,
0.038464728742837906,
0.050045598298311234,
0.0033412629272788763,
-0.008582023903727531,
-0.004438611213117838,
-0.01506042666733265,
-0.01605268009006977,
... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | "listing_id": "664017",
"reviewer_id": "3932440",
"reviewer_name": "Carolina",
"comments": "Es una muy buena anfitriona, preocupada de que te encuentres cómoda y te sugiere que actividades puedes realizar. Disfruté mucho la estancia durante esos días, el sector es central y seguro." }, ... ]
``` | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.030334945768117905,
-0.009156111627817154,
0.06746015697717667,
0.008061906322836876,
-0.0019449418177828193,
0.013199279084801674,
0.02676151879131794,
0.06135082244873047,
-0.023230483755469322,
0.005505756940692663,
-0.012951171956956387,
-0.058555614203214645,
0.013168364763259888,
... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | ## Prerequisites
- App Services application (e.g., application-0). Ensure linkage to the cluster with the Airbnb data.
- OpenAI account with API access.
![Open AI Key
### Secrets and Values
1. Navigate to your App Services application.
2. Under "Values," create a secret named `openAIKey` with your OPEN AI API key.
... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.01802649348974228,
-0.03896863013505936,
-0.004243589472025633,
-0.03542868047952652,
0.025339286774396896,
0.05924767628312111,
0.02433825097978115,
0.028019333258271217,
0.011712748557329178,
-0.0223247017711401,
-0.011218799278140068,
-0.0760888084769249,
0.009846837259829044,
0.0867... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | Example of a review update operation that will fire this trigger:
```javascript
listingsAndReviews.updateOne({"_id" : "1129303"}, { $push : { "reviews" : new_review } , $set : { "process" : false" }});
```
### Sample reviews function
To prevent overloading the API with a large number of reviews, a function sampleRevie... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.09217647463083267,
-0.021917041391134262,
0.02973153442144394,
-0.03574100881814957,
0.0037330961786210537,
0.045699745416641235,
0.02375026047229767,
0.04615376517176628,
0.03743452578783035,
-0.02945530228316784,
-0.020444029942154884,
0.004793725907802582,
-0.00028507609385997057,
0.... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | return sampledReviews;
}
```
### Main trigger logic
The main trigger logic is invoked when an update change event is detected with a `"process" : false` field.
```javascript
exports = async function(changeEvent) {
// A Database Trigger will always call a function with a changeEvent.
// Documentation on ChangeEven... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.07496263831853867,
-0.0022931282874196768,
0.015449314378201962,
-0.032833877950906754,
0.0274550449103117,
0.023118797689676285,
0.040175266563892365,
0.06100309640169144,
0.019930480048060417,
-0.014482250437140465,
-0.013135907240211964,
-0.04342693090438843,
0.0036264185328036547,
0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | return sampledReviews;
}
// Access the _id of the changed document:
const docId = changeEvent.documentKey._id;
const doc= changeEvent.fullDocument;
// Get the MongoDB service you want to use (see "Linked Data Sources" tab)
const serviceName = "mongodb-atlas";
const databaseName = "sample_airbnb";
con... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.031809691339731216,
-0.01273814681917429,
0.015823574736714363,
-0.00680987723171711,
0.050974052399396896,
0.03372253477573395,
0.02040598727762699,
0.06981812417507172,
-0.011519516818225384,
0.000307806592900306,
-0.02120952121913433,
-0.056947194039821625,
-0.012161685153841972,
0.0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | // Fetch the OpenAI key stored in the context values.
const openai_key = context.values.get("openAIKey");
const reviews = doc.reviews.map((review) => {return {"comments" : review.comments}});
const sampledReviews= sampleReviews(reviews);
// Prepare the request string for the OpenAI API.
const... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.035808634012937546,
0.0012021007714793086,
0.008661667816340923,
-0.05116145312786102,
0.04451536014676094,
-0.016249194741249084,
0.04040682688355446,
0.04493623226881027,
0.0037132801953703165,
-0.017337320372462273,
-0.04771295562386513,
-0.050985898822546005,
0.03205788880586624,
0.... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | // Call OpenAI API to get the response.
let resp = await context.http.post({
url: url,
headers: {
'Authorization': [`Bearer ${openai_key}`],
'Content-Type': ['application/json']
},
body: JSON.stringify({
model: "gpt-4",
temperature... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.029451776295900345,
0.01280142180621624,
0.010928797535598278,
-0.06095277518033981,
0.03169967979192734,
0.0031140462961047888,
0.05159224569797516,
0.04979121312499046,
0.022862166166305542,
0.006799749564379454,
-0.01923985779285431,
-0.053314026445150375,
0.02966015599668026,
0.0834... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | const code = responseData.choices[0].message.content;
// Get the required data to be added into the document
const updateDoc = JSON.parse(code)
// Set a flag that this document does not need further re-processing
updateDoc.process = true
await collection.updateOne({_id : docId},... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.08430814743041992,
0.01045955065637827,
0.03579709306359291,
-0.03414199873805046,
0.02627354860305786,
0.021485809236764908,
0.008494805544614792,
0.06600920855998993,
-0.008102654479444027,
0.003950087353587151,
-0.019482463598251343,
-0.013794470578432083,
0.023629071190953255,
0.022... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | Key steps include:
- API request preparation: Reviews from the changed document are sampled and prepared into a request string for the OpenAI API. The format and instructions are tailored to ensure the API returns a valid JSON with summarized content and tags.
- API interaction: Using the context.http.post method, the... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.06425446271896362,
0.015196016989648342,
0.014957580715417862,
-0.04905816540122032,
0.04558635503053665,
0.026605455204844475,
0.02458653226494789,
0.042485110461711884,
0.0024984688498079777,
0.00038978096563369036,
0.0014386388938874006,
-0.04643610119819641,
0.013037458062171936,
0.... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | Here is a sample result that is added to the processed listing document:
```
"process": true,
"overall_review": "Overall, guests had a positive experience at Marinete's apartment. They praised the location, cleanliness, and hospitality. However, some guests mentioned issues with the dog and language barrier.",
"neg_ta... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.018523477017879486,
0.013775629922747612,
0.018246788531541824,
-0.037361256778240204,
0.060052309185266495,
0.015071781352162361,
0.022544700652360916,
0.05805240944027901,
0.02249765209853649,
0.003295812988653779,
-0.00004248873301548883,
-0.03664785996079445,
0.0252126082777977,
0.0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"AI",
"Node.js"
],
"version": null
} | created | devcenter | Overall Review (ai based) : {{ listing.overall_review }}
{{tag}}
{{tag}}
```
## Conclusion
By integrating MongoDB Atlas triggers with OpenAI's powerful models, we can efficiently process and analyze large volumes of reviews in real-time. This setup not only provides con... | https://www.mongodb.com/developer/products/mongodb/atlas-open-ai-review-summary | md | Using MongoDB Atlas Triggers to Summarize Airbnb Reviews with OpenAI | [
-0.04842721298336983,
-0.025147899985313416,
0.01631397195160389,
-0.019730543717741966,
0.03751155734062195,
0.006439289078116417,
0.031063158065080643,
0.06317470222711563,
-0.012957305647432804,
0.01124939601868391,
-0.008856471627950668,
-0.001972187776118517,
0.00006470937660196796,
0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | # Getting Started with MongoDB and AWS Codewhisperer
**Introduction**
----------------
Amazon CodeWhisperer is trained on billions of lines of code and can generate code suggestions — ranging from snippets to full functions — in real-time, based on your comments and existing code. AI code assistants have revolutioniz... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.06456639617681503,
-0.02141782082617283,
0.006294905208051205,
-0.021012524142861366,
0.04662040248513222,
-0.0047924211248755455,
-0.004582950379699469,
0.02320190891623497,
-0.01318175345659256,
0.016072852537035942,
0.006855227518826723,
-0.038180913776159286,
0.020347001031041145,
0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | This tutorial will help you get CodeWhisperer up and running in VS Code, but CodeWhisperer also works with a number of other IDEs, including IntelliJ IDEA, AWS Cloud9, AWS Lambda console, JupyterLab, and Amazon SageMaker Studio. On the [Amazon CodeWhisperer site][1], you can find tutorials that demonstrate how to set u... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.05912330374121666,
-0.04956725239753723,
-0.010123714804649353,
-0.0076818810775876045,
0.027913479134440422,
0.0193786658346653,
-0.010468638502061367,
0.02033318765461445,
-0.01157626323401928,
-0.004519777838140726,
0.02005293220281601,
-0.03447508439421654,
0.04998226463794708,
0.02... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | 1. Open VS Code and navigate to the extensions store (bottom icon on the left panel).
2. Search for CodeWhisperer and it will show up as part of the AWS Toolkit.
![Searching for the AWS ToolKit Extension][2]
3. Once found, hit Install. Next, you’ll see the full AWS Toolkit
Listing
![The AWS Toolkit full listing][... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.05871956795454025,
-0.01820199191570282,
0.02271755412220955,
0.0016068365657702088,
0.03996641933917999,
0.03970911726355553,
-0.014900146052241325,
0.007821847684681416,
-0.019832387566566467,
0.009616336785256863,
0.01070330385118723,
-0.04804794862866402,
0.03952047973871231,
0.0033... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | **Using CodeWhisperer**
-----------------------
Navigating code suggestions
![CodeWhisperer Running][5]
With CodeWhisperer installed and running, as you enter your prompt or code, CodeWhisperer will offer inline code suggestions. If you want to keep the suggestion, use **TAB** to accept it. CodeWhisperer may provid... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.07219529896974564,
-0.007200576364994049,
-0.0023679619189351797,
-0.04683566093444824,
-0.007351596374064684,
0.04573453217744827,
0.0234117042273283,
0.047622475773096085,
0.004880059976130724,
-0.01350026112049818,
0.0017455840716138482,
-0.01147446222603321,
0.003620678326115012,
0.... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | **Requesting suggestions manually**
You can request suggestions at any time. Use **Option-C** on Mac or **ALT-C** on Windows. After you receive suggestions, use **TAB** to accept and arrow keys to navigate.
**Getting the best recommendations**
For best results, follow these practices. | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.037793900817632675,
0.009321185760200024,
0.018807388842105865,
-0.022428542375564575,
-0.023728396743535995,
0.04572127014398575,
0.054113537073135376,
0.027041301131248474,
0.012802472338080406,
-0.03669269382953644,
0.012890598736703396,
-0.03439677134156227,
-0.017111748456954956,
0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | **Getting the best recommendations**
For best results, follow these practices.
- Give CodeWhisperer something to work with. The more code your file contains, the more context CodeWhisperer has for generating recommendations.
- Write descriptive comments in natural language — for example
```
// Take a JSON document ... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.055695611983537674,
-0.00236820918507874,
0.0050787474028766155,
-0.05617925524711609,
0.02910137176513672,
-0.0006241381051950157,
0.002846823073923588,
0.08091509342193604,
-0.049371395260095596,
-0.02040194533765316,
0.001094409148208797,
-0.013390183448791504,
0.007512558717280626,
... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | **Provide feedback**
----------------
As with all generative AI tools, they are forever learning and forever expanding their foundational knowledge base, and MongoDB is looking for feedback. If you are using Amazon CodeWhisperer in your MongoDB development, we’d love to hear from you.
We’ve created a special “codewh... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.0754004493355751,
-0.030515208840370178,
0.0367886982858181,
-0.012632420286536217,
0.01949852705001831,
-0.024691054597496986,
-0.026394423097372055,
0.0338144414126873,
-0.04351126775145531,
0.01708023063838482,
0.016154516488313675,
-0.04983565956354141,
0.021673787385225296,
0.06961... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | [1]: https://aws.amazon.com/codewhisperer/resources/#Getting_started
[2]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/blt1bfd28a846063ae9/65481ef6e965d6040a3dcc37/CW_1.png
[3]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltde40d5ae1b9dd8dd/65481ef615630d040a4b2588/CW_2.png
[4]: ... | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.04668710008263588,
-0.05350756272673607,
0.03410687297582626,
-0.0008209437946788967,
0.03904532641172409,
0.05028768628835678,
-0.036285627633333206,
0.0371750183403492,
-0.028346305713057518,
0.007081599440425634,
0.035153865814208984,
-0.06255291402339935,
0.03658417984843254,
0.0336... |
2024-05-20T17:32:23.500Z | {
"contentType": "Tutorial",
"productName": null,
"tags": [
"MongoDB",
"JavaScript",
"Java",
"Python",
"AWS",
"AI"
],
"version": null
} | created | devcenter | [5]: https://images.contentstack.io/v3/assets/blt39790b633ee0d5a7/bltf1e0ebeea2089e6a/65481ef6077aca040a5349da/CW_4.png
[6]: https://www.mongodb.com/community/forums/
[7]: https://www.mongodb.com/community/forums/tag/codewhisperer | https://www.mongodb.com/developer/products/mongodb/getting-started-with-mongodb-and-codewhisperer | md | Getting Started with MongoDB and AWS Codewhisperer | [
-0.062355611473321915,
-0.02996961958706379,
0.00748904375359416,
-0.027389757335186005,
0.03996922820806503,
-0.010491594672203064,
-0.014069334603846073,
0.03178500384092331,
-0.03944150358438492,
0.009434203617274761,
0.0149646932259202,
-0.048328813165426254,
0.015768952667713165,
0.05... |
2024-05-20T17:32:23.500Z | {
"contentType": "Code Example",
"productName": null,
"tags": [
"Java",
"Spring"
],
"version": null
} | created | devcenter | # REST APIs with Java, Spring Boot, and MongoDB
## GitHub repository
If you want to write REST APIs in Java at the speed of light, I have what you need. I wrote this template to get you started. I have tried to solve as many problems as possible in it.
So if you want to start writing REST APIs in Java, clone this pr... | https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot | md | REST APIs with Java, Spring Boot, and MongoDB | [
-0.056110650300979614,
0.020723596215248108,
-0.0050460901111364365,
-0.04011356085538864,
0.03915746137499809,
-0.02171265333890915,
-0.023249952122569084,
0.043229542672634125,
-0.022295985370874405,
-0.02515980415046215,
-0.016533667221665382,
-0.05829558148980141,
0.04635586589574814,
... |
2024-05-20T17:32:23.500Z | {
"contentType": "Code Example",
"productName": null,
"tags": [
"Java",
"Spring"
],
"version": null
} | created | devcenter | ## Spring and MongoDB configuration
The configuration can be found in the MongoDBConfiguration.java class.
```java
package com.mongodb.starter;
import ...]
import static org.bson.codecs.configuration.CodecRegistries.fromProviders;
import static org.bson.codecs.configuration.CodecRegistries.fromRegistries;
@Configu... | https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot | md | REST APIs with Java, Spring Boot, and MongoDB | [
-0.022041186690330505,
0.012386796064674854,
0.04889116808772087,
-0.04572535306215286,
0.022289298474788666,
-0.004703840706497431,
0.03612551838159561,
0.06614290177822113,
-0.007171238772571087,
-0.02755134366452694,
-0.01405954547226429,
-0.058601442724466324,
0.0952560231089592,
0.049... |
2024-05-20T17:32:23.500Z | {
"contentType": "Code Example",
"productName": null,
"tags": [
"Java",
"Spring"
],
"version": null
} | created | devcenter | }
```
The important section here is the MongoDB configuration, of course. Firstly, you will notice the connection string is automatically retrieved from the `application.properties` file, and secondly, you will notice the configuration of the `MongoClient` bean.
A `Codec` is the interface that abstracts the processes... | https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot | md | REST APIs with Java, Spring Boot, and MongoDB | [
-0.03185790032148361,
-0.0073826974257826805,
0.01151951216161251,
-0.036193642765283585,
0.03182685747742653,
-0.014662986621260643,
0.03447699174284935,
0.05345042794942856,
-0.01536285225301981,
-0.04201623424887657,
-0.018850605934858322,
-0.09083906561136246,
0.028942318633198738,
0.0... |
2024-05-20T17:32:23.500Z | {
"contentType": "Code Example",
"productName": null,
"tags": [
"Java",
"Spring"
],
"version": null
} | created | devcenter | You can read [the driver documentation if you want to know more about this topic.
## Multi-document ACID transactions
Just for the sake of it, I also used multi-document ACID transactions in a few methods where it could potentially make sense to use ACID transactions. You can check all the code in the `MongoDBPersonR... | https://www.mongodb.com/developer/code-examples/java/rest-apis-java-spring-boot | md | REST APIs with Java, Spring Boot, and MongoDB | [
-0.05469315126538277,
-0.001743087312206626,
-0.00930569414049387,
-0.023819755762815475,
-0.03809059038758278,
-0.018179314211010933,
0.06407202035188675,
0.040189072489738464,
-0.010788281448185444,
-0.012967627495527267,
0.010226083919405937,
-0.04590384662151337,
-0.0003548367531038821,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.