Skip to content

Commit 17eea6e

Browse files
authored
update placeholder text in Ingestion sample code (Azure#30696)
1 parent 5786337 commit 17eea6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/monitor/azure-monitor-ingestion/src/samples/java/com/azure/monitor/ingestion/UploadLogsSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ public final class UploadLogsSample {
2121
*/
2222
public static void main(String[] args) {
2323
LogsIngestionClient client = new LogsIngestionClientBuilder()
24-
.endpoint("<data-collection-endpoint")
24+
.endpoint("<data-collection-endpoint>")
2525
.credential(new DefaultAzureCredentialBuilder().build())
2626
.buildClient();
2727

2828
List<Object> dataList = getLogs();
29-
UploadLogsResult result = client.upload("<data-collection-rule-id", "stream-name", dataList);
29+
UploadLogsResult result = client.upload("<data-collection-rule-id>", "<stream-name>", dataList);
3030
System.out.println(result.getStatus());
3131
}
3232

0 commit comments

Comments
 (0)